projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3606a4a
)
fix the check for if a relative is focused on map
author
Dana Jansens
<danakj@orodu.net>
Thu, 6 Mar 2008 07:43:32 +0000
(
02:43
-0500)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 6 Mar 2008 07:43:32 +0000
(
02:43
-0500)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
f55af2b
..
0bb1d11
100644
(file)
--- 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 */