On Mon Jan 13 13:31:11 2025 +0000, Gabriel Ivăncescu wrote:
This does fix it as well, yes. And it also fixes another long-standing bug with fullscreen apps that have either a menu bar or multiple windows. Thanks! Looks good to me. I'm just curious, but why is it fine/better to ignore swp_flags? (I mean it clearly is, but I don't know why)
I believe the flags should already be handled in win32u (for instance see `calc_winpos`), and the win32u window rects should be updated according to them before calling into the driver. Whatever changes is seen to the window/visible rects in the driver, is coming from some internal implementation details (decoration changes, DPI scaling, etc) and should be requested.