[layout] Fix focus on arrange for multi head
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
c3ba206dc6
commit
d95b38849b
2
layout.c
2
layout.c
|
@ -71,7 +71,7 @@ arrange(int screen)
|
|||
|
||||
/* if we have a valid client that could be focused but currently no window
|
||||
* are focused, then set the focus on this window */
|
||||
if((c = focus_get_current_client(screen)) && !globalconf.focus->client)
|
||||
if((c = focus_get_current_client(screen)) && globalconf.focus->client != c)
|
||||
client_focus(c, screen, True);
|
||||
|
||||
/* check that the mouse is on a window or not */
|
||||
|
|
Loading…
Reference in New Issue