fixed small border case
git-svn-id: http://tint2.googlecode.com/svn/trunk@342 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
37d2086b37
commit
08a8c4b823
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue