summaryrefslogtreecommitdiff
path: root/src/sna/sna_dri2.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-08-22 19:10:47 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-08-22 19:10:47 +0100
commit3e07681c1948db240b29928bb1e129e559733537 (patch)
treea237e72a91ca7de0239133e60efbf54f4b1ce686 /src/sna/sna_dri2.c
parenta6317fc3292151b1d02bfb8586f53cf90db4b50e (diff)
sna/dri2: Stop trying to attach vblank events to pixmaps
Once again I tried to add an event to a pixmap, but only Windows carry the CRTC tracking information. Stop it. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_dri2.c')
-rw-r--r--src/sna/sna_dri2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 3592dd56..500355cd 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -3334,6 +3334,8 @@ blit:
front->flags = back->flags;
type = DRI2_BLIT_COMPLETE;
}
+ if (draw->type == DRAWABLE_PIXMAP)
+ goto fake;
skip:
DBG(("%s: unable to show frame, unblocking client\n", __FUNCTION__));
if (crtc == NULL && (sna->flags & SNA_NO_WAIT) == 0)