https://bugs.winehq.org/show_bug.cgi?id=57652
--- Comment #6 from RĂ©mi Bernon rbernon@codeweavers.com --- I am not able to reproduce with the mentioned applications but I'm able to reproduce a similar issue with the Steam Settings window which gets cropped on the right.
I believe this happens because regardless of the SWP flags, the size of the visible part of the window can change independently, because of Wine's decoration handling: when the nature and style of the window changes we decide to hide or show the window non-client area and may need to adjust the visible rect.
By strictly respecting the SWP flags, we now don't request the visible rect size changes when they come from these decoration adjustments and when the application used SWP_NOSIZE / SWP_NOMOVE.
In addition, these flags should already be handled on the win32u side and the window rect should not have changed when they are set. Whatever changes there is in the visible rect, it has to be requested to the X server.