Alexandre Julliard pushed to branch master at wine / wine
Commits: a689a6da by Zhiyi Zhang at 2025-03-05T16:34:13+01:00 win32u: Remove an unused parameter.
The first parameter `current` for get_virtual_modes() is unused. It was introduced by 1ffe5b35.
- - - - - 47210da2 by Zhiyi Zhang at 2025-03-05T16:34:13+01:00 win32u: Don't use the current mode in the registry if it's a detached mode.
Don't use the current mode in the registry if it's a detached mode when adding virtual modes. Otherwise, the requested/previous current mode in the registry could be a detached mode and it will cause functions like MonitorFromRect() to return NULL, even after monitor gets turned on.
Fix Witcher 3 (292030) black screen after monitor is turned off and then on.
- - - - -
1 changed file:
- dlls/win32u/sysparams.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/fddbab9b73059f0e59bebe78101b7b...