diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-15 17:38:52 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-15 17:38:52 +0000 |
| commit | d30809e5faf681a00035d9913a762f25db8de6b5 (patch) | |
| tree | 87c0473ba291affb368c2fdaeab41f5e62660150 /openbox/focus.c | |
| parent | d3e524420f87b3aedaf3076f3677cb1c3213f06f (diff) | |
always ignore errors for client_focus like we used to.
Diffstat (limited to 'openbox/focus.c')
| -rw-r--r-- | openbox/focus.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |
