Feb. 3, 2026
2:37 p.m.
Rémi Bernon (@rbernon) commented about programs/explorer/systray.c:
pos = get_icon_pos( icon ); SetWindowPos( icon->window, 0, pos.x, pos.y, 0, 0, SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOZORDER | SWP_SHOWWINDOW );
- if (nb_displayed == 1 && show_systray) do_show_systray(); + if (nb_displayed == 1 && (enable_taskbar || show_systray)) do_show_systray();
It's probably harmless but do we need this check? It seems to me that with `enable_taskbar` the systray does not get hidden in systray_remove_icon, so it should always be shown and by symmetry it doesn't seem to be needed here? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10011#note_128638