X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fstacking.c;h=d053bec4ddce53e2f39c29c4f100a8fb4e9ba55f;hb=89f223e2533761b68bb3ba473c92f37466387c8a;hp=c715eae04d9ec40f0815a1a1389a190c14098ecf;hpb=174de91c343dfbdfe866e566393bf4790ae22596;p=chaz%2Fopenbox diff --git a/openbox/stacking.c b/openbox/stacking.c index c715eae0..d053bec4 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -41,7 +41,7 @@ void stacking_set_list() /* create an array of the window ids (from bottom to top, reverse order!) */ if (stacking_list) { - windows = g_new(Window, g_list_length(stacking_list)); + windows = g_new(Window, g_list_length(stacking_list)); for (it = g_list_last(stacking_list); it; it = g_list_previous(it)) { if (WINDOW_IS_CLIENT(it->data)) windows[i++] = WINDOW_AS_CLIENT(it->data)->window;