summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-03-06 02:43:32 -0500
committerDana Jansens <danakj@orodu.net>2008-03-06 02:43:32 -0500
commit07f5240d8c6d4fc6d70d396c4205a42f87ee7a95 (patch)
tree20df1288747d8f96a968a704b4b4ae53f7b5c8ba /openbox/client.c
parent3606a4af6f75b5e35ce540bf083b776a097d096f (diff)
fix the check for if a relative is focused on map
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c
index f55af2b8..0bb1d11d 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -500,8 +500,8 @@ void client_manage(Window window, ObPrompt *prompt)
parent_focused = (focus_client != NULL &&
client_search_focus_parent(self));
relative_focused = (focus_client != NULL &&
- client_search_focus_tree_full(self) != NULL &&
- client_search_focus_group_full(self) != NULL);
+ (client_search_focus_tree_full(self) != NULL ||
+ client_search_focus_group_full(self) != NULL));
/* This is focus stealing prevention */