From 512f036404b559ae1e3456c05301104f5c422676 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Tue, 4 Jun 2019 16:19:54 +0900 Subject: [PATCH] * src/xterm.c (x_scroll_run) [USE_CAIRO]: Dirty only destination rectangle. --- src/xterm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index e9551475f7d..ccc84dcc716 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4239,7 +4239,8 @@ x_scroll_run (struct window *w, struct run *run) width, height, x, to_y); if (cr) - cairo_surface_mark_dirty (cairo_get_target (cr)); + cairo_surface_mark_dirty_rectangle (cairo_get_target (cr), + x, to_y, width, height); } else if (FRAME_CR_CONTEXT (f)) { -- 2.39.2