mirror of https://github.com/0intro/wmii
Fix issue #1.
This commit is contained in:
parent
60e152d8a9
commit
cbfa4688a4
|
@ -237,17 +237,17 @@ view_focus(WMScreen *s, View *v) {
|
|||
}
|
||||
}
|
||||
}
|
||||
for(c=client; c; c=c->next)
|
||||
if((f = c->sel)) {
|
||||
if(f->view == v)
|
||||
client_resize(c, f->r);
|
||||
else {
|
||||
unmap_frame(c);
|
||||
client_unmap(c, IconicState);
|
||||
}
|
||||
ewmh_updatestate(c);
|
||||
ewmh_updateclient(c);
|
||||
for(c=client; c; c=c->next) {
|
||||
f = c->sel;
|
||||
if(f && f->view == v)
|
||||
client_resize(c, f->r);
|
||||
else {
|
||||
unmap_frame(c);
|
||||
client_unmap(c, IconicState);
|
||||
}
|
||||
ewmh_updatestate(c);
|
||||
ewmh_updateclient(c);
|
||||
}
|
||||
|
||||
view_restack(v);
|
||||
if(fscrn)
|
||||
|
|
Loading…
Reference in New Issue