only focus on startup if focus_new is true
This commit is contained in:
parent
d3c094357d
commit
fd89a7eadc
1 changed files with 4 additions and 3 deletions
|
@ -135,10 +135,11 @@ void client_manage_all()
|
||||||
startup_stack_order = NULL;
|
startup_stack_order = NULL;
|
||||||
startup_stack_size = 0;
|
startup_stack_size = 0;
|
||||||
|
|
||||||
active = g_hash_table_lookup(client_map, &startup_active);
|
if (config_focus_new) {
|
||||||
if (!active || !client_focus(active))
|
active = g_hash_table_lookup(client_map, &startup_active);
|
||||||
if (config_focus_new)
|
if (!active || !client_focus(active))
|
||||||
focus_fallback(Fallback_NoFocus);
|
focus_fallback(Fallback_NoFocus);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void client_manage(Window window)
|
void client_manage(Window window)
|
||||||
|
|
Loading…
Reference in a new issue