summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stack.c b/src/core/stack.c
index 8baa3856..6e03952f 100644
--- a/src/core/stack.c
+++ b/src/core/stack.c
@@ -1026,7 +1026,7 @@ stack_sync_to_xserver (MetaStack *stack)
meta_topic (META_DEBUG_STACK, "%u:%d - %s ",
w->layer, w->stack_position, w->desc);
- g_array_prepend_val (stacked, w->xwindow);
+ g_array_append_val (stacked, w->xwindow);
if (w->frame)
g_array_append_val (root_children_stacked, w->frame->xwindow);