On 16 July 2016 at 00:48, Gabriel Corona gabriel.corona@enst-bretagne.fr wrote:
Fixes https://bugs.winehq.org/show_bug.cgi?id=33290
The nvidia driver is not so happy about using XRRSetCrtcConfig alone and generates a panning configuration. We set the screen size accordingly. Moreover we disable the CRT during the transition.
Updating the screen size isn't necessarily wrong, although avoiding panning is the wrong reason. If you don't want panning, make sure it doesn't get enabled in the first place. The main problem with this patch though, is that it's almost certainly wrong for multi-head configurations.