From 2045c811e2aef4a10d44c05852482b3659f212df Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 24 Mar 2008 14:37:57 +0100 Subject: [PATCH] Enhance configurerequest handling a bit Signed-off-by: Julien Danjou --- event.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/event.c b/event.c index 295a12ae8..29787e9f3 100644 --- a/event.c +++ b/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; - - client_resize(c, geometry, False); - - tag_client_with_rule(c, rule_matching_client(c)); - - if(!c->isfloating) + if(c->isfloating) + client_resize(c, geometry, False); + else globalconf.screens[c->screen].need_arrange = True; } else