Applying this MR on top of `2b32c285` (master) prevents [osu!](https://osu.ppy.sh/) ([download](https://m1.ppy.sh/r/osu!install.exe)) from closing when the either the ingame "Fullscreen" or "Render at native resolution" options are enabled (i.e. no window frame). It just hangs indefinitely, due to a deadlock I presume. Only native dotnet48 is installed in the prefix.
[fullscreen.log (hangs)](/uploads/8f2dc854833b96f4c84796b04edcbf57/fullscreen.log) [nofullscreen.log (closes properly)](/uploads/7ce90e3ad7adddb4f6fc7e2efbb05543/nofullscreen.log)
Here are logs of `WINEDEBUG=+pid,+tid,+timestamp,+loaddll,+win,+waylanddrv` with both fullscreen enabled and disabled, but I don't know if there's a more useful channel that I'm missing.
Also, irrelevant to this regression, but the `GetRawInputDeviceInfoA` spam on the `win` channel is due to a different bug somewhere in wine(bus|hid|usb).