summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-24 06:41:59 +0000
committerDana Jansens <danakj@orodu.net>2007-04-24 06:41:59 +0000
commit6e83a82e5b5206c8199e392df5f089c0b4122fe1 (patch)
treec1627531737277efc654791439b7c87792e5fb1c
parentc6fe4f8d8f4bd462ff9b1b1344422d0115cd5ff3 (diff)
the focus_client = NULL got moved by mistake.
-rw-r--r--openbox/focus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index e62b3dbd..4c663c3f 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -273,8 +273,6 @@ void focus_fallback(gboolean allow_refocus)
*/
focus_nothing();
- focus_client = NULL;
-
if ((new = focus_fallback_target(allow_refocus, old)))
client_focus(new);
}
@@ -287,6 +285,8 @@ void focus_nothing()
screen_install_colormap(NULL, TRUE);
}
+ focus_client = NULL;
+
/* when nothing will be focused, send focus to the backup target */
XSetInputFocus(ob_display, screen_support_win, RevertToPointerRoot,
event_curtime);