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

Patrick Rudolph siro at
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 
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: <>

More information about the wine-patches mailing list