Instead of checking the winstation name and registry on every lock_display_devices call, which is now called on every mouse input to get monitor dpi. This would perhaps be better implemented with a shared memory winstation object instead of putting the flag on the desktop objects, but it would be a larger and riskier change.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57504
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6987