From f60c5987b6aa98b43cbaf581c5ed4e5eaa476361 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 30 Nov 2015 20:26:21 -0500 Subject: xf86-video-qxl-0.1.4-6: rebuild --- ...03-kms-do-not-overwrite-screen-virtualX-Y.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/xf86-video-qxl/0003-kms-do-not-overwrite-screen-virtualX-Y.patch (limited to 'pcr/xf86-video-qxl/0003-kms-do-not-overwrite-screen-virtualX-Y.patch') diff --git a/pcr/xf86-video-qxl/0003-kms-do-not-overwrite-screen-virtualX-Y.patch b/pcr/xf86-video-qxl/0003-kms-do-not-overwrite-screen-virtualX-Y.patch new file mode 100644 index 000000000..1dbe311a8 --- /dev/null +++ b/pcr/xf86-video-qxl/0003-kms-do-not-overwrite-screen-virtualX-Y.patch @@ -0,0 +1,31 @@ +From 8babd05ea9c196390570928a386f5a17a8a37fb9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= +Date: Wed, 13 May 2015 19:10:06 +0200 +Subject: [PATCH 2/3] kms: do not overwrite screen virtualX/Y + +The pScrn->currentMode is the resolution of the first monitor, +not the resolution of the whole virtual screen. + +This fixes restarting X when several monitors are enabled. + +Signed-off-by: Christian Hesse +--- + src/qxl_kms.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/src/qxl_kms.c b/src/qxl_kms.c +index b6952f3..4ffb4e7 100644 +--- a/src/qxl_kms.c ++++ b/src/qxl_kms.c +@@ -286,8 +286,6 @@ Bool qxl_screen_init_kms(SCREEN_INIT_ARGS_DECL) + goto out; + pScrn->displayWidth = pScrn->virtualX; + +- pScrn->virtualX = pScrn->currentMode->HDisplay; +- pScrn->virtualY = pScrn->currentMode->VDisplay; + if (!qxl_fb_init (qxl, pScreen)) + goto out; + +-- +2.6.2 + -- cgit v1.2.3