From d95b38849b732814c699decbec0403c0d4b45d16 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 9 Apr 2008 17:15:44 +0200 Subject: [PATCH] [layout] Fix focus on arrange for multi head Signed-off-by: Julien Danjou --- layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout.c b/layout.c index d899c7dd9..e1d18a232 100644 --- a/layout.c +++ b/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 */