From 66f34b38aec972a12b0eb729378a24c4038324b1 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 27 May 2008 20:52:55 +0200 Subject: [PATCH] [layout] Arrange after focus is gave Signed-off-by: Julien Danjou --- layout.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/layout.c b/layout.c index 56bc02f46..b513c90bd 100644 --- a/layout.c +++ b/layout.c @@ -29,6 +29,7 @@ #include "window.h" #include "client.h" #include "screen.h" +#include "layouts/magnifier.h" #include "layouts/tile.h" #include "layouts/max.h" #include "layouts/fibonacci.h" @@ -57,9 +58,6 @@ arrange(int screen) client_ban(c); } - if(curlay) - curlay(screen); - qp_c = xcb_query_pointer_unchecked(globalconf.connection, xcb_aux_get_screen(globalconf.connection, phys_screen)->root); @@ -90,6 +88,9 @@ arrange(int screen) p_delete(&qp_r); } + if(curlay) + curlay(screen); + /* reset status */ globalconf.screens[screen].need_arrange = false;