]> Dogcows Code - chaz/tint2/commitdiff
*fix* unmap traywin (part of issue 205)
authorAndreas Fink <andreas.fink85@googlemail.com>
Sat, 16 Jan 2010 15:42:02 +0000 (15:42 +0000)
committerAndreas Fink <andreas.fink85@googlemail.com>
Sat, 16 Jan 2010 15:42:02 +0000 (15:42 +0000)
src/systray/systraybar.c

index 57505aa6d141cd81b320177f35abeb34515bd67c..87e20ec7f1772677ff0290da8d8bb86adbf8ece9 100644 (file)
@@ -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);
This page took 0.023565 seconds and 4 git commands to generate.