SOURCES: xorg-xserver-server-bug-12815.patch (NEW) - fix bug fd#12...
arekm
arekm at pld-linux.org
Mon Nov 19 17:03:09 CET 2007
Author: arekm Date: Mon Nov 19 16:03:09 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix bug fd#12815; in EXA when even viewing some web pages X could lock where keyboard doesn't work and only thing possible is to reboot machine
---- Files affected:
SOURCES:
xorg-xserver-server-bug-12815.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/xorg-xserver-server-bug-12815.patch
diff -u /dev/null SOURCES/xorg-xserver-server-bug-12815.patch:1.1
--- /dev/null Mon Nov 19 17:03:09 2007
+++ SOURCES/xorg-xserver-server-bug-12815.patch Mon Nov 19 17:03:04 2007
@@ -0,0 +1,25 @@
+EXA: Don't attempt to move in pixmaps that can't be accelerated.
+
+From: Michel Dänzer <michel at tungstengraphics.com>
+
+Fixes https://bugs.freedesktop.org/show_bug.cgi?id=12815 .
+---
+
+ exa/exa_migration.c | 4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/exa/exa_migration.c b/exa/exa_migration.c
+index 70d8e12..ff81041 100644
+--- a/exa/exa_migration.c
++++ b/exa/exa_migration.c
+@@ -319,6 +319,10 @@ exaMoveInPixmap (PixmapPtr pPixmap)
+ if (pPixmap->drawable.bitsPerPixel < 8)
+ return;
+
++ if (pPixmap->drawable.width > pExaScr->info->maxX ||
++ pPixmap->drawable.height > pExaScr->info->maxY)
++ return;
++
+ if (pExaPixmap->area == NULL) {
+ pExaPixmap->area =
+ exaOffscreenAlloc (pScreen, pExaPixmap->fb_size,
================================================================
More information about the pld-cvs-commit
mailing list