all repos — openbox @ 4c56b2de8d649764755036c1ff8c0618c22fb468

openbox fork - make it a bit more like ryudo

instead of falling back to any normal window. fallback to the same windows you can focus cycle to.
Dana Jansens danakj@orodu.net
commit

4c56b2de8d649764755036c1ff8c0618c22fb468

parent

51a4970f1a0bb09ed69cd95d219981d1b9efb119

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

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

@@ -126,7 +126,7 @@ a splashscreen or a desktop window (save the desktop as a

backup fallback though) */ if ((allow_omnipresent || c->desktop == screen_desktop) && - client_normal(c) && + focus_cycle_target_valid(c, FALSE, FALSE, FALSE, FALSE) && (allow_refocus || client_focus_target(c) != old) && client_focus(c)) {

@@ -145,7 +145,7 @@ 2. it is a normal type window, don't fall back onto a dock or

a splashscreen or a desktop window (save the desktop as a backup fallback though) */ - if (c->type == OB_CLIENT_TYPE_DESKTOP && + if (focus_cycle_target_valid(c, FALSE, FALSE, FALSE, TRUE) && (allow_refocus || client_focus_target(c) != old) && client_focus(c)) {