diff options
author | Colin Harrison <colin@xming.myzen.co.uk> | 2018-08-28 15:30:23 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-08-28 18:57:22 +0100 |
commit | 7d0f997a4b8e1b62c9b82e9b10934a6c55a6eb48 (patch) | |
tree | 3750da75901204c5a1e96a4b737fbd422b4ad248 | |
parent | 440e6736fe136ab79d9e2f9236e33f4557aa47aa (diff) |
hw/xwin: Respect -notrayicon option on taskbar restart
-rw-r--r-- | hw/xwin/winwndproc.c | 2 |
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; |