all repos — openbox @ 310ea89e0ebb53e27550440960305ffc446ae8ce

openbox fork - make it a bit more like ryudo

another silly bug. i rule the school.
Dana Jansens danakj@orodu.net
commit

310ea89e0ebb53e27550440960305ffc446ae8ce

parent

9ca05545076ffc4c5165ce12de47173b044b57e0

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

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

@@ -197,7 +197,9 @@ g_assert(it);

stacking_list = g_list_delete_link(stacking_list, it); /* go from the bottom of the stacking list up */ - for (it = g_list_last(stacking_list); it; it = g_list_previous(it)) { + for (it = g_list_last(stacking_list); it; it = next) { + next = g_list_previous(it); + if (WINDOW_IS_CLIENT(it->data)) { ObClient *ch = it->data;