diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-08-22 19:10:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-08-22 19:10:47 +0100 |
commit | 3e07681c1948db240b29928bb1e129e559733537 (patch) | |
tree | a237e72a91ca7de0239133e60efbf54f4b1ce686 /src/sna/sna_dri2.c | |
parent | a6317fc3292151b1d02bfb8586f53cf90db4b50e (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.c | 2 |
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) |