fix some weird conditions with fullscreen/max/arrange
This commit is contained in:
parent
9fa01e34de
commit
29a5cda54f
1
ewmh.c
1
ewmh.c
|
@ -268,6 +268,7 @@ ewmh_process_state_atom(Client *c, Atom state, int set)
|
|||
statusbar_draw_all(c->screen);
|
||||
client_resize(c, geometry, False);
|
||||
XRaiseWindow(globalconf.display, c->win);
|
||||
arrange(c->screen);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
4
tag.c
4
tag.c
|
@ -224,7 +224,9 @@ uicb_client_togglefloating(int screen, char *arg __attribute__((unused)))
|
|||
return;
|
||||
|
||||
if((sel->isfloating = !sel->isfloating))
|
||||
client_resize(sel, sel->f_geometry, True);
|
||||
client_resize(sel, sel->f_geometry, False);
|
||||
else if(sel->ismax)
|
||||
client_resize(sel, sel->m_geometry, False);
|
||||
|
||||
client_saveprops(sel);
|
||||
arrange(screen);
|
||||
|
|
Loading…
Reference in New Issue