all repos — openbox @ b41c3395313a97741f2f76b9133dc3b0b8eb5bbc

openbox fork - make it a bit more like ryudo

don't fallback to shaded windows
Dana Jansens danakj@orodu.net
commit

b41c3395313a97741f2f76b9133dc3b0b8eb5bbc

parent

bf0179b7ebdd354cb63a05762e8a602063cd0596

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

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

@@ -122,12 +122,12 @@ /* fallback focus to a window if:

1. it is on the current desktop. this ignores omnipresent windows, which are problematic in their own rite, unless they are specifically allowed - 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) + 2. it is a valid auto-focus target + 3. it is not shaded */ if ((allow_omnipresent || c->desktop == screen_desktop) && focus_valid_target(c, FALSE, FALSE, FALSE, FALSE) && + !c->shaded && (allow_refocus || client_focus_target(c) != old) && client_focus(c)) {