summaryrefslogtreecommitdiff
path: root/libwnck/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libwnck/screen.c')
-rw-r--r--libwnck/screen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libwnck/screen.c b/libwnck/screen.c
index 130c341..c06c143 100644
--- a/libwnck/screen.c
+++ b/libwnck/screen.c
@@ -1481,9 +1481,8 @@ arrays_contain_same_windows (Window *a,
if (a_len != b_len)
return FALSE;
- if (a_len == 0 ||
- b_len == 0)
- return FALSE; /* one was nonzero */
+ if (a_len == 0)
+ return TRUE; /* both are empty */
a_tmp = g_new (Window, a_len);
b_tmp = g_new (Window, b_len);