Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53953
This is not what I would do. Bug 53953 amounts to "some users didn't install
32-bit headers, so we used the wrong ones, which are usually identical so it
doesn't matter". From the perspective of using the software as intended, this is
unilaterally user error.
From a more utilitarian perspective, this is a regression, and ensuring that
we're not using the *functionally* incorrect headers is a problem we have to
solve anyway. (Cf. GStreamer, which may be the only interesting case.)
On the other hand, it's a regression that's already been in two major versions.
Anyone building Wine on Fedora has surely already installed the right headers by
now.
I'm submitting this patch in an attempt to garner a decreed resolution to the
bug, one way or another, but again, this solution is not the one I would
prescribe if it were my choice.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7022
Commit f784374bcb5195c918754b1da6142a618a0da7dd introduced a cyclic reference between desktop and global hook through global hook table. So now if a hook was set and then not explicitly unset and the process was just terminated the hook, desktop, thread and some other related objects are leaked (which is displayed by wineserver on prefix shutdown in this case).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7039
The preprocessor condition to cover pre-2013 VisualStudio around
C99 support actually also admitted current versions of GCC and
breaks GCC in C23 mode.
Address this by explicitly checking for GCC which, by definition,
then does not qualify as VisualStudio.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7040
At least Doom 64 calls ClipCursor() with identical parameters
repeatedly, which seems to cause a considerable overhead. Together with
high polling rate mouse input this causes the game to almost freeze
while the mouse is being moved. So if the clipping did not change we can
bail out early because it will not cause any observable difference
anyway.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46976
Signed-off-by: Jan Klötzke <jan(a)kloetzke.net>
--
v2: winex11.drv: optimize repeated ClipCursor calls
winex11.drv: create win32 clipping window only once
https://gitlab.winehq.org/wine/wine/-/merge_requests/825