From d30809e5faf681a00035d9913a762f25db8de6b5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 15 May 2007 17:38:52 +0000 Subject: always ignore errors for client_focus like we used to. --- openbox/focus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openbox/focus.c') 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; -- cgit v1.2.3