summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-08 06:14:53 +0000
committerDana Jansens <danakj@orodu.net>2003-04-08 06:14:53 +0000
commitc99bb4a049d29d2546074365ab76cecad4d1f65b (patch)
treed7e7ee3bf35428b5a1a92f9967363a36661c422c /openbox/event.c
parent40bfb2b6e5249608f6f7d0c8012ca44f67883843 (diff)
add more options for focus fallback, use an enum for all the types of fallbacks.
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 3a8f96b6..04174af0 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -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: