On Wed Feb 19 12:37:28 2025 +0000, Rémi Bernon wrote:
Looks like this isn't correct either: `is_window_managed` calls `NtUserGetMonitorInfo` which returns the monitor rect in thread DPI (which can be anything but raw DPI), and compares against driver rects which are in raw DPI. I initially had moved `is_window_managed` to win32u, to avoid that problem but it ended up not being accepted and I forgot to fix it differently.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7370 would be a better way to fix this I think (and in the direction of getting rid of WindowPosChanging callback).