summaryrefslogtreecommitdiff
path: root/src/sna/sna_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r--src/sna/sna_accel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 0b04db86..f6095b5e 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -5995,6 +5995,9 @@ static Bool sna_accel_do_flush(struct sna *sna)
return FALSE;
}
+ if (sna->flags & SNA_NO_DELAYED_FLUSH)
+ return TRUE;
+
if (sna->timer[FLUSH_TIMER] == -1)
return TRUE;