all repos — openbox @ f869ec5121afaf74ff3a7a420923878c093f9c08

openbox fork - make it a bit more like ryudo

when placing transients in the stacking order, only use relatives that are on screen or share the desktop or whatever, not iconic ones
Dana Jansens danakj@orodu.net
commit

f869ec5121afaf74ff3a7a420923878c093f9c08

parent

6e2d5ccc035539b71b98873ec6cfcea30f8e94a3

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

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

@@ -382,8 +382,14 @@ /* go from the top of the stacking order down */

for (it = stacking_list; !ret && it; it = g_list_next(it)) { if (WINDOW_IS_CLIENT(it->data)) { ObClient *c = it->data; - /* only look at windows in the same layer */ - if (c->layer == client->layer) { + /* only look at windows in the same layer and that are + visible */ + if (c->layer == client->layer && + !c->iconic && + (c->desktop == client->desktop || + c->desktop == DESKTOP_ALL || + client->desktop == DESKTOP_ALL)) + { GSList *sit; /* go through each top level parent and see it this window