diff --git a/layout.c b/layout.c index cb504c914..67bf86ad4 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;