hw/xwin: Respect -notrayicon option on taskbar restart
This commit is contained in:
parent
a588e6f81b
commit
3d493e91ab
|
@ -1173,7 +1173,7 @@ winWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (message == s_uTaskbarRestart) {
|
if ((message == s_uTaskbarRestart) && !s_pScreenInfo->fNoTrayIcon) {
|
||||||
winInitNotifyIcon(s_pScreenPriv);
|
winInitNotifyIcon(s_pScreenPriv);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue