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:
d3c0943
)
only focus on startup if focus_new is true
author
Dana Jansens
<danakj@orodu.net>
Fri, 25 Apr 2003 22:40:04 +0000
(22:40 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 25 Apr 2003 22:40:04 +0000
(22:40 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index ef6a0e1a112936eda697ac165f27dd5cba5a9364..c475fba309054982c873a1942fe258c556a75bbb 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-135,10
+135,11
@@
void client_manage_all()
startup_stack_order = NULL;
startup_stack_size = 0;
- active = g_hash_table_lookup(client_map, &startup_active);
- if (!active || !client_focus(active))
- if (
config_focus_new
)
+ if (config_focus_new) {
+ active = g_hash_table_lookup(client_map, &startup_active);
+ if (
!active || !client_focus(active)
)
focus_fallback(Fallback_NoFocus);
+ }
}
void client_manage(Window window)