Enhance configurerequest handling a bit
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
3310b974b4
commit
2045c811e2
8
event.c
8
event.c
|
@ -185,13 +185,9 @@ event_handle_configurerequest(XEvent * e)
|
||||||
if(geometry.x != c->geometry.x || geometry.y != c->geometry.y
|
if(geometry.x != c->geometry.x || geometry.y != c->geometry.y
|
||||||
|| geometry.width != c->geometry.width || geometry.height != c->geometry.height)
|
|| geometry.width != c->geometry.width || geometry.height != c->geometry.height)
|
||||||
{
|
{
|
||||||
old_screen = c->screen;
|
if(c->isfloating)
|
||||||
|
|
||||||
client_resize(c, geometry, False);
|
client_resize(c, geometry, False);
|
||||||
|
else
|
||||||
tag_client_with_rule(c, rule_matching_client(c));
|
|
||||||
|
|
||||||
if(!c->isfloating)
|
|
||||||
globalconf.screens[c->screen].need_arrange = True;
|
globalconf.screens[c->screen].need_arrange = True;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue