X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstacking.c;h=2a34f71dc4eea10305c1037a0ae24b64d9d4025b;hb=2f09e0ce388f63c341cb328d795766e2bd0dc24b;hp=3c05df49c64c0c23f470a87aa4e090ee33fb4d29;hpb=3167fc223ea82851ae954b348a5ff1c0ce6b6d79;p=chaz%2Fopenbox diff --git a/openbox/stacking.c b/openbox/stacking.c index 3c05df49..2a34f71d 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -69,6 +69,8 @@ static void do_restack(GList *wins, GList *before) #ifdef DEBUG GList *next; + + g_assert(wins); /* pls only restack stuff in the same layer at a time */ for (it = wins; it; it = next) { next = g_list_next(it);