all repos — openbox @ 34196a1ef3fc92bf7f0ed663acedc8f9cffa5958

openbox fork - make it a bit more like ryudo

make stacking_add_nonintrusive work when there is only 1 other window
Dana Jansens danakj@orodu.net
commit

34196a1ef3fc92bf7f0ed663acedc8f9cffa5958

parent

7f11e15bb8bdb4e6fc6cd012b0ff3c92900a7b70

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

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

@@ -408,8 +408,10 @@ it_below = it_below->next;

} } if (!it_below) { - /* out of ideas, just add it normally... */ - stacking_add(win); + /* there is no window to put this directly above, so put it at the + bottom */ + stacking_list = g_list_prepend(stacking_list, win); + stacking_lower(win); } else { /* make sure it's not in the wrong layer though ! */ for (; it_below; it_below = g_list_next(it_below))