aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xcompmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xcompmgr.c b/xcompmgr.c
index 5996d1a..816123b 100644
--- a/xcompmgr.c
+++ b/xcompmgr.c
@@ -1599,7 +1599,7 @@ finish_destroy_win (Display *dpy, Window id, Bool gone)
for (prev = &list; (w = *prev); prev = &w->next)
if (w->id == id)
{
- if (!gone)
+ if (gone)
finish_unmap_win (dpy, w);
*prev = w->next;
if (w->picture)