[layout] Fix focus on arrange for multi head

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-04-09 17:15:44 +02:00
parent c3ba206dc6
commit d95b38849b
1 changed files with 1 additions and 1 deletions

View File

@ -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 */