summaryrefslogtreecommitdiff
path: root/openbox/stacking.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-10 18:44:27 +0000
committerDana Jansens <danakj@orodu.net>2003-07-10 18:44:27 +0000
commitd1d84711a2684c47c688cc7d015741bd484151fb (patch)
tree9cb4fafd89dafeac58d4d4da4628ce733d59f8dd /openbox/stacking.c
parent120623d34e0cb86b4970e9744a10ba39cd5e21b7 (diff)
replace the focus_backup with the screen_support_win, we dont need 2 offscreen windows.
Diffstat (limited to 'openbox/stacking.c')
-rw-r--r--openbox/stacking.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbox/stacking.c b/openbox/stacking.c
index 3a556fc4..c9dcb0b7 100644
--- a/openbox/stacking.c
+++ b/openbox/stacking.c
@@ -1,5 +1,6 @@
#include "openbox.h"
#include "prop.h"
+#include "screen.h"
#include "focus.h"
#include "client.h"
#include "group.h"
@@ -53,7 +54,7 @@ static void do_restack(GList *wins, GList *before)
win = g_new(Window, g_list_length(wins) + 1);
if (before == stacking_list)
- win[0] = focus_backup;
+ win[0] = screen_support_win;
else if (!before)
win[0] = window_top(g_list_last(stacking_list)->data);
else
@@ -267,7 +268,7 @@ void stacking_add(ObWindow *win)
ObStackingLayer l;
GList *wins;
- g_assert(focus_backup != None); /* make sure I dont break this in the
+ g_assert(screen_support_win != None); /* make sure I dont break this in the
future */
l = window_layer(win);