X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;h=c63f6fea7bf3728924a43c5ad5f49fcb61510d1d;hb=2b135c53565547779719348ec3164311be8191fe;hp=6b5ba70e60e15514198a2660909fc93b83ed31ed;hpb=15fb1bde546d14a65cc5ec871b796f45e964172e;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index 6b5ba70e..c63f6fea 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -499,7 +499,7 @@ static void event_process(const XEvent *ec, gpointer data) focus_left_screen = FALSE; - focus_fallback(FALSE, FALSE, TRUE); + focus_fallback(FALSE, config_focus_under_mouse, TRUE); /* We don't get a FocusOut for this case, because it's just moving from our Inferior up to us. This happens when iconifying a @@ -551,7 +551,7 @@ static void event_process(const XEvent *ec, gpointer data) */ if (!focus_left_screen) - focus_fallback(FALSE, FALSE, TRUE); + focus_fallback(FALSE, config_focus_under_mouse, TRUE); } } else if (!client) @@ -607,7 +607,7 @@ static void event_process(const XEvent *ec, gpointer data) ob_debug_type(OB_DEBUG_FOCUS, "Focus went to an unmanaged window 0x%x !\n", ce.xfocus.window); - focus_fallback(TRUE, FALSE, TRUE); + focus_fallback(TRUE, config_focus_under_mouse, TRUE); } }