diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-01-20 00:50:40 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-01-20 00:50:40 -0500 |
commit | 635fcabba41b616b61a044577138b677f8e3ba85 (patch) | |
tree | 74d0bd53c361b05422a6c0dde2bf97f7721d0691 /pcr/xf86-video-qxl/0002-kms-initialize-primary-surface-to-screen-virtual-siz.patch | |
parent | 7be19864c7e7638af2f0a65a9aa4c21f998d3f4b (diff) | |
download | abslibre-635fcabba41b616b61a044577138b677f8e3ba85.tar.gz abslibre-635fcabba41b616b61a044577138b677f8e3ba85.tar.bz2 abslibre-635fcabba41b616b61a044577138b677f8e3ba85.zip |
xf86-video-qxl-0.1.5-2: updating version
Diffstat (limited to 'pcr/xf86-video-qxl/0002-kms-initialize-primary-surface-to-screen-virtual-siz.patch')
-rw-r--r-- | pcr/xf86-video-qxl/0002-kms-initialize-primary-surface-to-screen-virtual-siz.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/pcr/xf86-video-qxl/0002-kms-initialize-primary-surface-to-screen-virtual-siz.patch b/pcr/xf86-video-qxl/0002-kms-initialize-primary-surface-to-screen-virtual-siz.patch deleted file mode 100644 index 2a41c94fe..000000000 --- a/pcr/xf86-video-qxl/0002-kms-initialize-primary-surface-to-screen-virtual-siz.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 16ac8fa8fac56a01050ffa9f0978ae04b1a1efa4 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com> -Date: Wed, 13 May 2015 18:12:26 +0200 -Subject: [PATCH 1/3] kms: initialize primary surface to screen virtual size - -The pScrn->virtualX/Y are set after drmmode_pre_init(), use that -resolution instead of hard-coded 1024x768. - -This fixes rendering glitches when restarting X server with -different primary size than actual monitor modes. - -Signed-off-by: Christian Hesse <mail@eworm.de> ---- - src/qxl_kms.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/qxl_kms.c b/src/qxl_kms.c -index c31c62d..b6952f3 100644 ---- a/src/qxl_kms.c -+++ b/src/qxl_kms.c -@@ -164,8 +164,8 @@ Bool qxl_pre_init_kms(ScrnInfoPtr pScrn, int flags) - if (drmmode_pre_init(pScrn, &qxl->drmmode, pScrn->bitsPerPixel / 8) == FALSE) - goto out; - -- qxl->virtual_x = 1024; -- qxl->virtual_y = 768; -+ qxl->virtual_x = pScrn->virtualX; -+ qxl->virtual_y = pScrn->virtualY; - - pScrn->display->virtualX = qxl->virtual_x; - pScrn->display->virtualY = qxl->virtual_y; --- -2.6.2 - |