summaryrefslogtreecommitdiff
path: root/src/sna/sna_dri2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_dri2.c')
-rw-r--r--src/sna/sna_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 1d311f01..0d9ce00f 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -3268,7 +3268,7 @@ skip:
if (crtc) {
if (!info)
info = sna_dri2_add_event(sna, draw, client, crtc);
- if (!info)
+ if (info != dri2_chain(draw))
goto fake;
info->type = SWAP_WAIT;