[PATCH 1/2] winemac.drv: Don't filter non active displays out.
April 12, 2021
10:55 a.m.
On Windows 10 the DISPLAY_DEVICE_ACTIVE flag is set even if monitor is in power saving mode or switched off. Monitors without DISPLAY_DEVICE_ACTIVE are only reported when display is disabled. This doesn't match with CGDisplayIsActive function. Current code causes rendering problems when native .NET is used. When monitors are updated when in power saving mode (e.g. due to race on machine wake-up) we might end up with no monitors being enumerated by EnumDisplayMonitors. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> --- dlls/winemac.drv/cocoa_display.m | 89 ++++++++++++++------------------ 1 file changed, 39 insertions(+), 50 deletions(-)
1809
Age (days ago)
1809
Last active (days ago)
0 comments
1 participants
participants (1)
-
Piotr Caban