[layout] Arrange after focus is gave

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-27 20:52:55 +02:00
parent 55b4c773d0
commit 66f34b38ae
1 changed files with 4 additions and 3 deletions

View File

@ -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;