summaryrefslogtreecommitdiff
path: root/src/stack.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@src.gnome.org>2002-10-17 16:20:50 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-10-17 16:20:50 +0000
commit4eb8a93c83228aafeb9a70877992e3214781d404 (patch)
treef35ab0880cc8dbf1eb81c86e1cb6f5bf3831ca16 /src/stack.c
parent3da0b1c7d9a83d797645f3220bdf893e17e5f7e8 (diff)
downloadmetacity-4eb8a93c83228aafeb9a70877992e3214781d404.tar.gz
debug enhancements
Diffstat (limited to 'src/stack.c')
-rw-r--r--src/stack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stack.c b/src/stack.c
index 22b1baa5..0e6ae373 100644
--- a/src/stack.c
+++ b/src/stack.c
@@ -408,6 +408,7 @@ ensure_above (MetaWindow *above,
{
/* move above to below->stack_position bumping below down the stack */
meta_window_set_stack_position (above, below->stack_position);
+ g_assert (below->stack_position + 1 == above->stack_position);
}
meta_topic (META_DEBUG_STACK, "Above pos %d > below pos %d\n",