[xorg-x11-drv-qxl/f18] add missing patch

Alon Levy alon at fedoraproject.org
Thu Aug 23 14:24:48 UTC 2012


commit e1f82b22b4710d8315bd69e1234c72e9e9f98567
Author: Alon Levy <alevy at redhat.com>
Date:   Thu Aug 23 17:23:06 2012 +0300

    add missing patch

 0010-screen-specific-dix-privates.patch |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/0010-screen-specific-dix-privates.patch b/0010-screen-specific-dix-privates.patch
new file mode 100644
index 0000000..c61d6d4
--- /dev/null
+++ b/0010-screen-specific-dix-privates.patch
@@ -0,0 +1,14 @@
+diff --git a/src/qxl_driver.c b/src/qxl_driver.c
+index ad55aac..ee9ffe5 100644
+--- a/src/qxl_driver.c
++++ b/src/qxl_driver.c
+@@ -1197,7 +1197,8 @@ qxl_screen_init(SCREEN_INIT_ARGS_DECL)
+     
+     /* We need to set totalPixmapSize after setup_uxa and Damage,
+ 	as the privatessize is not computed correctly until then */
+-    pScreen->totalPixmapSize = BitmapBytePad((sizeof(PixmapRec) + dixPrivatesSize(PRIVATE_PIXMAP) ) * 8);
++    pScreen->totalPixmapSize = BitmapBytePad((sizeof(PixmapRec) +
++			    dixScreenSpecificPrivatesSize(pScreen, PRIVATE_PIXMAP) ) * 8);
+ 
+     miDCInitialize(pScreen, xf86GetPointerScreenFuncs());
+     if (!miCreateDefColormap(pScreen))


More information about the scm-commits mailing list