Avoids unnecessarily hiding then showing the window again, which seems to often trigger race conditions especially with the Wayland backend. --- This seems to fix the winmm:mci test with winewayland, where it consistently times out. The reason for the lockup is still unclear, and does not happen with every Wayland compositor (it does with Weston, which is the one used on my testbot runs, but not on GNOME), and can be reproduced with this patch: [0001-winmm-mci-test.patch](/uploads/36728018603793b33fd4653f6255fefb/0001-winmm-mci-test.patch) The winex11 test failures are more elusive and I'm not able to reproduce them locally. They seem to happen more often at least on win32 configurations, which might indicate some memory exhaustion issue, but they also sometimes happen on wow64 so it's not clear. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10066