]> Dogcows Code - chaz/openbox/commitdiff
focus fallback
authorMikael Magnusson <mikachu@comhem.se>
Wed, 14 Mar 2007 01:17:39 +0000 (01:17 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 14 Mar 2007 01:17:39 +0000 (01:17 +0000)
openbox/event.c

index 6d6ff28a4ae97305092d61c52452fbc22ab50769..7eef80174ad14a2084c4b60597294ec0c11682bc 100644 (file)
@@ -656,7 +656,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
         /* Look for the followup FocusIn */
         if (!XCheckIfEvent(ob_display, &ce, look_for_focusin, NULL)) {
             /* There is no FocusIn, move focus where we can still hear events*/
-            focus_set_client(NULL);
+            focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS);
         } else if (ce.xany.window == e->xany.window) {
             /* If focus didn't actually move anywhere, there is nothing to do*/
             break;
This page took 0.026529 seconds and 4 git commands to generate.