aboutsummaryrefslogtreecommitdiffstats
path: root/xcompmgr.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-12-03 13:15:39 +0100
committerTilman Sauerbeck <tilman@code-monkey.de>2006-12-03 13:15:39 +0100
commit6c539182a53a19144edbe1c49fd41c51757173a4 (patch)
tree29c0194839d32ae9c872b06a212309c9b05a90b7 /xcompmgr.c
parentSet the _NET_WM_CM_S* atom on the screen we're running on. (diff)
downloadxcman-6c539182a53a19144edbe1c49fd41c51757173a4.tar.gz
xcman-6c539182a53a19144edbe1c49fd41c51757173a4.tar.bz2
xcman-6c539182a53a19144edbe1c49fd41c51757173a4.tar.xz
Bug #2703: Fixed a memory leak in the fading code.
Diffstat (limited to 'xcompmgr.c')
-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)