From: Andreas Fink Date: Sat, 16 Jan 2010 15:42:02 +0000 (+0000) Subject: *fix* unmap traywin (part of issue 205) X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1fd834384c65cbfc592b7b5d593b31db0d163f3c;p=chaz%2Ftint2 *fix* unmap traywin (part of issue 205) --- diff --git a/src/systray/systraybar.c b/src/systray/systraybar.c index 57505aa..87e20ec 100644 --- a/src/systray/systraybar.c +++ b/src/systray/systraybar.c @@ -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);