winex11.drv: xrandr1.2 don't assume CRTC 0 is active

Patrick Rudolph siro at das-labor.org
Tue Jul 24 11:28:03 CDT 2012


On my PC there are two CRTCs. CRTC 0 is disabled by default and CRTC 1 
is active by default.
With this patch wine does not fail to init/get/set the display-mode 
with more than one CRTC connected to the current screen and CRTC 0 
disabled.
I added a loop to cycle through every CRTC and test if its active. If 
so it is used instead of CRTC 0.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xrandr.diff
Type: text/x-diff
Size: 4723 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120724/6c2776d7/attachment.diff>


More information about the wine-patches mailing list