Sweden-Number/dlls/winex11.drv
Zebediah Figura 70d842b106 winex11: Resize the screen when changing CRTC modes.
Based on a patch by Gabriel Corona.

According to the RandR spec for RRSetCrtcConfig:

"The entire area of the CRTC must fit within the screen size, else a Match
error results. As an example, rotating the screen so that a single CRTC fills
the entire screen before and after may necessitate disabling the CRTC,
resizing the screen, then re-enabling the CRTC at the new configuration to
avoid an invalid intermediate configuration."

This patch involves resizing the screen also when shrinking a CRTC, not just
when expanding it past the current screen size. This is partially because we
have no way to reliably determine the current display width (DisplayWidth() is
never updated past opening the connection, and RandR exposes no way to
retrieve the screen dimensions), and partially because it's probably what the
user wants anyway (e.g. it's what the `xrandr` configuration app does when the
screen size is not expliticly specified).

This patch fixes TestBot failures on the Debian machines for ddraw, d3d8, and
d3d9 device tests.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=33290
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 09:15:32 +02:00
..
Makefile.in
bitblt.c
brush.c
clipboard.c
desktop.c
event.c
graphics.c
ime.c
init.c gdi32: Implement GetCharWidthInfo(). 2019-04-09 15:46:03 +02:00
keyboard.c winex11.drv: Don't use strcasecmp. 2019-04-03 20:27:57 +02:00
mouse.c
mwm.h
opengl.c
palette.c
pen.c
settings.c
systray.c
version.rc
vulkan.c
window.c
winex11.drv.spec
wintab.c winex11: Implement PK_CHANGE for wintab. 2019-04-10 21:25:30 +02:00
x11drv.h
x11drv_main.c
xcomposite.h
xdnd.c
xim.c winex11.drv: Don't use strcasecmp. 2019-04-03 20:27:57 +02:00
xinerama.c
xrandr.c winex11: Resize the screen when changing CRTC modes. 2019-04-11 09:15:32 +02:00
xrender.c gdi32: Implement GetCharWidthInfo(). 2019-04-09 15:46:03 +02:00
xvidmode.c