layout: arrange before focus is gave
This patch reverts 66f34b38ae
and should fix FS#234.
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
700ace5197
commit
9f459559db
6
layout.c
6
layout.c
|
@ -47,6 +47,9 @@ arrange(int screen)
|
||||||
client_ban(c);
|
client_ban(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(curlay)
|
||||||
|
curlay(screen);
|
||||||
|
|
||||||
qp_c = xcb_query_pointer_unchecked(globalconf.connection,
|
qp_c = xcb_query_pointer_unchecked(globalconf.connection,
|
||||||
xutil_screen_get(globalconf.connection,
|
xutil_screen_get(globalconf.connection,
|
||||||
phys_screen)->root);
|
phys_screen)->root);
|
||||||
|
@ -79,9 +82,6 @@ arrange(int screen)
|
||||||
p_delete(&qp_r);
|
p_delete(&qp_r);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(curlay)
|
|
||||||
curlay(screen);
|
|
||||||
|
|
||||||
/* reset status */
|
/* reset status */
|
||||||
globalconf.screens[screen].need_arrange = false;
|
globalconf.screens[screen].need_arrange = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue