all repos — openbox @ 9f22554b6a1e7113b4ff86061327d9d0b0d87760

openbox fork - make it a bit more like ryudo

when i said it handled both cases, i was mistaken, so use a callback for each case.
Dana Jansens danakj@orodu.net
commit

9f22554b6a1e7113b4ff86061327d9d0b0d87760

parent

685dca1c5fb1fac160ad845a710bc2c30ff87751

1 files changed, 2 insertions(+), 0 deletions(-)

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

@@ -87,6 +87,7 @@ if (!reconfig) {

XSetWindowAttributes attr; client_add_destructor(focus_cycle_destructor, NULL); + client_add_destructor(focus_tried_hide_notify, NULL); client_add_hide_notify(focus_tried_hide_notify, NULL); /* start with nothing focused */

@@ -141,6 +142,7 @@ icon_popup_free(focus_cycle_popup);

if (!reconfig) { client_remove_destructor(focus_cycle_destructor); + client_remove_destructor(focus_tried_hide_notify); client_remove_hide_notify(focus_tried_hide_notify); /* reset focus to root */