From 8763bced7678b97fe4a55d03c50f168418ff5f13 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 18 Oct 2016 08:39:18 +0000 Subject: [PATCH] Zero dirty count after flushing. --- screen-write.c | 1 + 1 file changed, 1 insertion(+) diff --git a/screen-write.c b/screen-write.c index 95caabce..d5fc1dee 100644 --- a/screen-write.c +++ b/screen-write.c @@ -130,6 +130,7 @@ screen_write_flush(struct screen_write_ctx *ctx) if (dirty == ctx->dirty) break; } + ctx->dirty = 0; s->cx = cx; s->cy = cy;