]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
add more options for focus fallback, use an enum for all the types of fallbacks.
[chaz/openbox] / openbox / event.c
index 3a8f96b612be011e15681a0dd564b1979e5b6286..04174af087297e4067e7e6aa15489f5f1a2d203e 100644 (file)
@@ -277,11 +277,11 @@ void event_process(XEvent *e)
                 /* secret magic way of event_process telling us that no client
                    was found for the FocusIn event. ^_^ */
                 if (!isfo && fi.xfocus.window == None)
-                    focus_fallback(FALSE);
+                    focus_fallback(Fallback_NoFocus);
                 if (fi.xfocus.window == e->xfocus.window)
                     return;
             } else
-                focus_fallback(FALSE);
+                focus_fallback(Fallback_NoFocus);
         }
        break;
     case EnterNotify:
This page took 0.022358 seconds and 4 git commands to generate.