From 9f459559db2d787c9b54169741778072fb9614c5 Mon Sep 17 00:00:00 2001 From: Kanru Chen Date: Tue, 22 Jul 2008 22:49:00 +0800 Subject: [PATCH] layout: arrange before focus is gave This patch reverts 66f34b38aec972a12b0eb729378a24c4038324b1 and should fix FS#234. Signed-off-by: Julien Danjou --- layout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layout.c b/layout.c index cb504c91..67bf86ad 100644 --- a/layout.c +++ b/layout.c @@ -47,6 +47,9 @@ arrange(int screen) client_ban(c); } + if(curlay) + curlay(screen); + qp_c = xcb_query_pointer_unchecked(globalconf.connection, xutil_screen_get(globalconf.connection, phys_screen)->root); @@ -79,9 +82,6 @@ arrange(int screen) p_delete(&qp_r); } - if(curlay) - curlay(screen); - /* reset status */ globalconf.screens[screen].need_arrange = false;