summaryrefslogtreecommitdiff
path: root/hw/xwin
diff options
context:
space:
mode:
authorColin Harrison <colin@xming.myzen.co.uk>2018-08-28 15:30:23 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2019-07-21 14:44:24 +0100
commit3d493e91ab66c8f66efaded6b81c87385863b843 (patch)
tree04e695869a6e1863b22ae2c028be07415eea1ee9 /hw/xwin
parenta588e6f81b1d8dfb9076358e5039d3ee6628a50f (diff)
hw/xwin: Respect -notrayicon option on taskbar restart
Diffstat (limited to 'hw/xwin')
-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 e375be9c1..224bfba79 100644
--- a/hw/xwin/winwndproc.c
+++ b/hw/xwin/winwndproc.c
@@ -1173,7 +1173,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;