client: register floating geom if it comes from floating
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
2e49d7554d
commit
d6964c2052
3
client.c
3
client.c
|
@ -583,7 +583,8 @@ client_resize(client_t *c, area_t geometry, bool hints)
|
||||||
/* save the floating geometry if the window is floating but not
|
/* save the floating geometry if the window is floating but not
|
||||||
* maximized */
|
* maximized */
|
||||||
if(c->ismoving || client_isfloating(c)
|
if(c->ismoving || client_isfloating(c)
|
||||||
|| layout_get_current(new_screen) == layout_floating)
|
|| layout_get_current(new_screen) == layout_floating
|
||||||
|
|| layout_get_current(c->screen) == layout_floating)
|
||||||
if(!c->isfullscreen)
|
if(!c->isfullscreen)
|
||||||
c->f_geometry = geometry;
|
c->f_geometry = geometry;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue