fixed small border case
git-svn-id: http://tint2.googlecode.com/svn/trunk@342 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user