summaryrefslogtreecommitdiff
path: root/exa/exa_migration.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-10-18 17:44:14 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-10-18 17:44:14 +0200
commit5d74416740de883b7ef0994afea4bbd4d3901be0 (patch)
treeb1f377b5057dbebd570905a2288c70b3ce37a4e7 /exa/exa_migration.c
parentfeac0759522cbdc3e61ccfa373df735903c5cb27 (diff)
EXA: Don't attempt to move in pixmaps that can't be accelerated.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=12815 .
Diffstat (limited to 'exa/exa_migration.c')
-rw-r--r--exa/exa_migration.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/exa/exa_migration.c b/exa/exa_migration.c
index 7968521c5..d69526b7f 100644
--- a/exa/exa_migration.c
+++ b/exa/exa_migration.c
@@ -299,6 +299,9 @@ exaDoMoveInPixmap (ExaMigrationPtr migrate)
if (pPixmap->drawable.bitsPerPixel < 8)
return;
+ if (pExaPixmap->accel_blocked)
+ return;
+
if (pExaPixmap->area == NULL) {
pExaPixmap->area =
exaOffscreenAlloc (pScreen, pExaPixmap->fb_size,