[PATCH] winex11.drv: call XRRSetScreenSize when changing resolution

Henri Verbeet hverbeet at gmail.com
Thu Nov 20 06:29:27 CST 2014


On 20 November 2014 13:11, Mark Harmstone <hellas at burntcomma.com> wrote:
> This changes xrandr12_set_current_mode so it behaves the same way as xrandr
> does in 1.2 mode (e.g, `xrandr --output HDMI-0 --crtc 0 --mode 640x480`).
> Before XRRSetCrtcConfig is called, the CRTC is temporarily disabled, then
> XRRSetScreenSize is called. (XRRSetCrtcConfig will fail if the CRTC isn't
> disabled first.)
>
Stefan did tests for this a while back so he'll know the details, but
I'm pretty sure this will do the wrong thing on multihead systems.



More information about the wine-devel mailing list