summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/screen.c b/src/core/screen.c
index c03530c2..e0e4e506 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -749,9 +749,8 @@ list_windows (MetaScreen *screen)
else
{
info->xwindow = children[i];
+ result = g_list_prepend (result, info);
}
-
- result = g_list_prepend (result, info);
}
if (children)