From: Mikael Magnusson Date: Sat, 19 Aug 2006 15:01:25 +0000 (+0000) Subject: remove some useless code X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=8d034c6f4d676772ddc13a9824dc55a1aa499f2f;p=chaz%2Fopenbox remove some useless code --- diff --git a/openbox/stacking.c b/openbox/stacking.c index bedc10c8..6050d017 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -327,15 +327,9 @@ void stacking_below(ObWindow *window, ObWindow *below) void stacking_add(ObWindow *win) { - ObStackingLayer l; - GList *wins; - g_assert(screen_support_win != None); /* make sure I dont break this in the future */ - l = window_layer(win); - wins = g_list_append(NULL, win); /* list of 1 element */ - stacking_list = g_list_append(stacking_list, win); stacking_raise(win, FALSE); }