all repos — openbox @ fd89a7eadc4caf62ef5ce4b8ce96216a1b506c5a

openbox fork - make it a bit more like ryudo

only focus on startup if focus_new is true
Dana Jansens danakj@orodu.net
commit

fd89a7eadc4caf62ef5ce4b8ce96216a1b506c5a

parent

d3c094357d06f4e65681e7ca7e227a33ebd122a4

1 files changed, 4 insertions(+), 3 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -135,10 +135,11 @@ g_free(startup_stack_order);

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)