all repos — openbox @ 091e296a3dd1020cdd4af2acbd35735778f05788

openbox fork - make it a bit more like ryudo

when an omnipresent window has focus and you switch desktops, keep it focused
Dana Jansens danakj@orodu.net
commit

091e296a3dd1020cdd4af2acbd35735778f05788

parent

83d987d9abb9e15b7c6f41fdb29e4f6a0bf200f9

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

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

@@ -233,6 +233,11 @@ return sit->data;

} #endif + ob_debug("trying omnipresentness\n"); + if (old && old->desktop == DESKTOP_ALL) + return old; + + ob_debug("trying the focus order\n"); for (it = focus_order; it; it = g_list_next(it)) if (allow_refocus || it->data != old) {