Fix issue #1.

This commit is contained in:
Kris Maglione 2008-04-05 14:24:07 -04:00
parent 60e152d8a9
commit cbfa4688a4
1 changed files with 10 additions and 10 deletions

View File

@ -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)