summaryrefslogtreecommitdiff
path: root/src/core/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stack.c')
-rw-r--r--src/core/stack.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/stack.c b/src/core/stack.c
index 18f1d7e56..f51e6bb9d 100644
--- a/src/core/stack.c
+++ b/src/core/stack.c
@@ -1189,10 +1189,7 @@ stack_sync_to_server (MetaStack *stack)
else
g_array_prepend_val (stacked, w->xwindow);
- if (w->frame)
- top_level_window = w->frame->xwindow;
- else
- top_level_window = w->xwindow;
+ top_level_window = w->xwindow;
/* We don't restack hidden windows along with the rest, though they are
* reflected in the _NET hints. Hidden windows all get pushed below