From: YAMAMOTO Mitsuharu Date: Tue, 4 Jun 2019 07:19:54 +0000 (+0900) Subject: * src/xterm.c (x_scroll_run) [USE_CAIRO]: Dirty only destination rectangle. X-Git-Tag: emacs-27.0.90~2709 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=512f036404b559ae1e3456c05301104f5c422676;p=emacs.git * src/xterm.c (x_scroll_run) [USE_CAIRO]: Dirty only destination rectangle. --- 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)) {