all repos — openbox @ 26852af7a1fca70eac6f371fa0d7289a6a6afb8c

openbox fork - make it a bit more like ryudo

better focus fallbacking n shit
Dana Jansens danakj@orodu.net
commit

26852af7a1fca70eac6f371fa0d7289a6a6afb8c

parent

fbed66cc8166e84e1c194b53d0e8a1c28e6e1b07

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

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

@@ -194,6 +194,8 @@ old))

trans = TRUE; } + g_message("trans %d", trans); + /* try for transient relations */ if (trans) { if (old->transient_for == OB_TRAN_GROUP) {

@@ -291,7 +293,7 @@ /* we don't use client_can_focus here, because that doesn't let you

focus an iconic window, but we want to be able to, so we just check if the focus flags on the window allow it, and its on the current desktop */ - return (ft == client_focus_target(ft) && client_normal(ft) && + return (!ft->transients && client_normal(ft) && ((ft->can_focus || ft->focus_notify) && !ft->skip_taskbar && (ft->desktop == screen_desktop || ft->desktop == DESKTOP_ALL)));