From d3ffd17946b172b64b2abc646176510a0773bc5f Mon Sep 17 00:00:00 2001 From: Thierry Lorthiois Date: Tue, 12 Jan 2010 20:13:42 +0000 Subject: [PATCH] fixed small border case --- src/systray/systraybar.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/systray/systraybar.c b/src/systray/systraybar.c index bd36ffb..4296435 100644 --- a/src/systray/systraybar.c +++ b/src/systray/systraybar.c @@ -361,6 +361,7 @@ gboolean add_icon(Window id) XSetErrorHandler(old); if (error != FALSE) { fprintf(stderr, "tint2 : not icon_swallow\n"); + XDestroyWindow(server.dsp, parent_window); return FALSE; } @@ -383,6 +384,7 @@ gboolean add_icon(Window id) } else { fprintf(stderr, "tint2 : xembed error\n"); + XDestroyWindow(server.dsp, parent_window); return FALSE; } } -- 2.45.2