On Tue Feb 3 16:55:54 2026 +0000, Twaik Yont wrote:
`show_systray` is documented as `show a standalone systray window`, but in these checks it appeared to be used in the sense of `systray visible at all`, which is what led to the taskbar systray being hidden. I updated them to consistently account for `enable_taskbar` as well. This line is mainly for consistency with the other fixes; the main functional issue is in the `WM_DISPLAYCHANGE` handling. Sure, but even if it seems more consistent with some area, it also is unnecessary considering the `systray_add_icon` / `systray_remove_icon` logic. With `enable_taskbar = TRUE` the systray area should *always* be visible, and doesn't need to be shown on icon addition.
It only needs to be "shown" in `WM_DISPLAYCHANGE`, but that's because we want to update its position rather than because it was hidden (and your change there looks good to me). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10011#note_128672