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:
574dd66
)
even better checks for when to focus new windows. focus dialogs when they are the...
author
Dana Jansens
<danakj@orodu.net>
Tue, 22 Apr 2003 07:06:10 +0000
(07:06 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 22 Apr 2003 07:06:10 +0000
(07:06 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index 2e0e442addb4ad5c861be0a687ba16a3e9e0b49a..996c6b88a4a579c399ef43db1a9b4d7db5ecf4da 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-271,8
+271,10
@@
void client_manage(Window window)
rules for focus */
if ((config_focus_new &&
(self->type == Type_Normal ||
- (self->type == Type_Dialog && (group_foc ||
- (!parent && !self->group))))) ||
+ (self->type == Type_Dialog &&
+ (group_foc ||
+ (!parent && (!self->group ||
+ !self->group->members->next)))))) ||
(parent && (client_focused(parent) ||
search_focus_tree(parent, parent)))) {
client_focus(self);