fixed small border case

git-svn-id: http://tint2.googlecode.com/svn/trunk@342 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-01-12 20:13:42 +00:00
parent 37d2086b37
commit 08a8c4b823

View File

@@ -361,6 +361,7 @@ gboolean add_icon(Window id)
XSetErrorHandler(old); XSetErrorHandler(old);
if (error != FALSE) { if (error != FALSE) {
fprintf(stderr, "tint2 : not icon_swallow\n"); fprintf(stderr, "tint2 : not icon_swallow\n");
XDestroyWindow(server.dsp, parent_window);
return FALSE; return FALSE;
} }
@@ -383,6 +384,7 @@ gboolean add_icon(Window id)
} }
else { else {
fprintf(stderr, "tint2 : xembed error\n"); fprintf(stderr, "tint2 : xembed error\n");
XDestroyWindow(server.dsp, parent_window);
return FALSE; return FALSE;
} }
} }