*fix* unmap traywin (part of issue 205)
git-svn-id: http://tint2.googlecode.com/svn/trunk@357 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
178b33a145
commit
6051ae447f
1 changed files with 1 additions and 1 deletions
|
@ -464,7 +464,7 @@ void remove_icon(TrayWindow *traywin)
|
|||
error = FALSE;
|
||||
old = XSetErrorHandler(window_error_handler);
|
||||
if (!traywin->hide)
|
||||
XUnmapWindow(server.dsp, traywin->id);
|
||||
XUnmapWindow(server.dsp, traywin->tray_id);
|
||||
XReparentWindow(server.dsp, traywin->tray_id, server.root_win, 0, 0);
|
||||
XDestroyWindow(server.dsp, traywin->id);
|
||||
XSync(server.dsp, False);
|
||||
|
|
Loading…
Reference in a new issue