all repos — openbox @ d3095f3671aef68c8a3f8ab30c8b998623ca1567

openbox fork - make it a bit more like ryudo

fallback under the mouse when config_focus_under_mouse
Dana Jansens danakj@orodu.net
commit

d3095f3671aef68c8a3f8ab30c8b998623ca1567

parent

587523c0cbe93bc7f60d4616ccc8fbc5274c757a

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M openbox/event.copenbox/event.c

@@ -499,7 +499,7 @@ "Focus went to the frame window");

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 @@ worry about focusing an invalid window

*/ if (!focus_left_screen) - focus_fallback(FALSE, FALSE, TRUE); + focus_fallback(FALSE, config_focus_under_mouse, TRUE); } } else if (!client)

@@ -607,7 +607,7 @@ that isn't a client. */

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); } }