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
|
||||
|| geometry.width != c->geometry.width || geometry.height != c->geometry.height)
|
||||
{
|
||||
old_screen = c->screen;
|
||||
|
||||
if(c->isfloating)
|
||||
client_resize(c, geometry, False);
|
||||
|
||||
tag_client_with_rule(c, rule_matching_client(c));
|
||||
|
||||
if(!c->isfloating)
|
||||
else
|
||||
globalconf.screens[c->screen].need_arrange = True;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue