]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
use client_activate to activate newly mapping windows. this means that if a window...
[chaz/openbox] / openbox / focus.c
index e62b3dbdbfb02c9b7a8294b9104cadface570482..4c663c3f124eabd30a223489263f1f24b6eb2120 100644 (file)
@@ -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);
This page took 0.020542 seconds and 4 git commands to generate.