X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.c;h=301e5ddfa9eaa1e482a73b72a3018d591e753d98;hb=9451205cf172d088948d40999e85ad07c3d430dd;hp=60e6ea99e6f4f3a58162b97041f224d207801ba6;hpb=361bf6af5c7de09f30f3cf4a220b3f84a3fe451d;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index 60e6ea99..301e5ddf 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -201,7 +201,7 @@ static ObClient* focus_fallback_target(gboolean allow_refocus) if ((c = client_under_pointer()) && (allow_refocus || c != old) && (client_normal(c) && - client_focus(c, TRUE))) + client_focus(c))) { ob_debug_type(OB_DEBUG_FOCUS, "found in pointer stuff\n"); return c; @@ -211,7 +211,7 @@ static ObClient* focus_fallback_target(gboolean allow_refocus) if (allow_refocus && old && old->desktop == DESKTOP_ALL && client_normal(old) && - client_focus(old, TRUE)) + client_focus(old)) { ob_debug_type(OB_DEBUG_FOCUS, "found in omnipresentness\n"); return old; @@ -231,7 +231,7 @@ static ObClient* focus_fallback_target(gboolean allow_refocus) if (c->desktop == screen_desktop && client_normal(c) && (allow_refocus || c != old) && - client_focus(c, TRUE)) + client_focus(c)) { ob_debug_type(OB_DEBUG_FOCUS, "found in focus order\n"); return c; @@ -250,7 +250,7 @@ static ObClient* focus_fallback_target(gboolean allow_refocus) */ if (c->type == OB_CLIENT_TYPE_DESKTOP && (allow_refocus || c != old) && - client_focus(c, TRUE)) + client_focus(c)) { ob_debug_type(OB_DEBUG_FOCUS, "found a desktop window\n"); return c;