From: Thierry Lorthiois Date: Tue, 12 Jan 2010 20:13:42 +0000 (+0000) Subject: fixed small border case X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=d3ffd17946b172b64b2abc646176510a0773bc5f;p=chaz%2Ftint2 fixed small border case --- 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; } }