summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-05 02:12:39 +0000
committerDana Jansens <danakj@orodu.net>2007-05-05 02:12:39 +0000
commita56d3a12abbe51e9ca5ca81e3fe2fc73028d6cba (patch)
treef703d0d1aca3248d26d353640a10d19ebed93f4f /openbox/focus.c
parent03f861b0ac70450359656ad16c754e9e394d6c49 (diff)
missing parentheses
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 73b0e787..823435c9 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -475,14 +475,14 @@ static gboolean valid_focus_target(ObClient *ft, gboolean dock_windows)
else
ok = (ft->type == OB_CLIENT_TYPE_NORMAL ||
ft->type == OB_CLIENT_TYPE_DIALOG ||
- (ft->type == OB_CLIENT_TYPE_TOOLBAR ||
- ft->type == OB_CLIENT_TYPE_MENU ||
- ft->type == OB_CLIENT_TYPE_UTILITY) &&
- /* let alt-tab go to these windows when a window in its group
- already has focus ... */
- ((focus_client && ft->group == focus_client->group) ||
+ ((ft->type == OB_CLIENT_TYPE_TOOLBAR ||
+ ft->type == OB_CLIENT_TYPE_MENU ||
+ ft->type == OB_CLIENT_TYPE_UTILITY) &&
+ /* let alt-tab go to these windows when a window in its group
+ already has focus ... */
+ ((focus_client && ft->group == focus_client->group) ||
/* ... or if there are no application windows in its group */
- !client_has_application_group_siblings(ft)));
+ !client_has_application_group_siblings(ft))));
ok = ok && (ft->can_focus || ft->focus_notify);
if (!dock_windows && /* use dock windows that skip taskbar too */
!(ft->type == OB_CLIENT_TYPE_TOOLBAR || /* also, if we actually are */