18 Jun
2024
18 Jun
'24
1:40 p.m.
On Tue Jun 18 13:33:25 2024 +0000, Emil Velikov wrote:
Would it make sense to use `NtUserGetVirtualScreenRect` instead of the global variable? Not something that needs to be done here, just asking ☺️ Yeah possibly, and that would ensure that it is not using a stale one, in case of display setting changes from a different process, though maybe that's not an issue with wineandroid.
Fwiw I want to drop it later, removing the virtual screen intersection and potential offset from surfaces, only winex11 / wineandroid are using it and I'm not sure it's very useful. It also requires a RECT on surfaces when width/height could be enough (and provided in the BITMAPINFO). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5865#note_73559