On Tue Jan 7 08:44:16 2025 +0000, William Horvath wrote:
I missed that, but doesn't the `NtUserGetDpiForWindow( hwnd ) != NtUserGetWinMonitorDpi( hwnd, MDT_RAW_DPI )` check in `needs_offscreen_rendering` already prevent this from being an issue? Regardless, I'll remove the `NTGDI_RGN_MONITOR_DPI` flag, in case the function is used somewhere else in the future.
Yes, you're right that it's prevented but yes, it's better to be consistent in isolation.