]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xterm.c (x_scroll_run) [USE_CAIRO]: Dirty only destination rectangle.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 4 Jun 2019 07:19:54 +0000 (16:19 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 4 Jun 2019 07:19:54 +0000 (16:19 +0900)
src/xterm.c

index e9551475f7d6aafb94effda6ef145750dc119aa6..ccc84dcc716dbcddf52c8f11d559ed3faeaefebf 100644 (file)
@@ -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))
     {