X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstacking.c;h=2a34f71dc4eea10305c1037a0ae24b64d9d4025b;hb=fa0ae17adbc8f73b707c33836d37841e81b9303a;hp=3c05df49c64c0c23f470a87aa4e090ee33fb4d29;hpb=308478e4a5f4dc76d69395dda8a9bc42cb69eec4;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);