summaryrefslogtreecommitdiff
path: root/hw/xwin/winwndproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/winwndproc.c')
-rw-r--r--hw/xwin/winwndproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/winwndproc.c b/hw/xwin/winwndproc.c
index 4a2d4bd37..c0c4a5ed8 100644
--- a/hw/xwin/winwndproc.c
+++ b/hw/xwin/winwndproc.c
@@ -1177,7 +1177,7 @@ winWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
break;
default:
- if (message == s_uTaskbarRestart) {
+ if ((message == s_uTaskbarRestart) && !s_pScreenInfo->fNoTrayIcon) {
winInitNotifyIcon(s_pScreenPriv);
}
break;