[layout] Arrange after focus is gave
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
55b4c773d0
commit
66f34b38ae
7
layout.c
7
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue