From c99bb4a049d29d2546074365ab76cecad4d1f65b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 8 Apr 2003 06:14:53 +0000 Subject: add more options for focus fallback, use an enum for all the types of fallbacks. --- openbox/event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/event.c') 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: -- cgit v1.2.3