From dfc01b259978e8b62a31746f84378ba844fbdb50 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 10 May 2009 16:42:15 +0200 Subject: [PATCH] event: remove need_arrange on resize Signed-off-by: Julien Danjou --- event.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/event.c b/event.c index 0b44f5d2..6808468f 100644 --- a/event.c +++ b/event.c @@ -279,9 +279,7 @@ event_handle_configurerequest(void *data __attribute__ ((unused)), * window size, i.e. without titlebars and borders. */ geometry = titlebar_geometry_add(c->titlebar, c->border, geometry); - if(client_resize(c, geometry, false)) - client_need_arrange(c); - else + if(!client_resize(c, geometry, false)) { /* Resize wasn't officially needed, but we don't want to break expectations. */ geometry = titlebar_geometry_remove(c->titlebar, c->border, c->geometry);