]> git.eshelyaron.com Git - emacs.git/commit
Disable scrolling optimizations when a stipple is present
authorPo Lu <luangruo@yahoo.com>
Sun, 8 May 2022 12:48:42 +0000 (20:48 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 8 May 2022 12:48:42 +0000 (20:48 +0800)
commit2f1410562ea36f1143c9d7b2e1341cef93ae1c19
tree088222c4dce8dc908b36f11c1533408be7397e2b
parent7a29f55f3aa3b1c3a9ed94d049e2fac1694200b9
Disable scrolling optimizations when a stipple is present

* src/dispextern.h (struct glyph_row): New field `stippled_p'.
We cannot just use the contents of the glyph row, since it has
to be set in `gui_clear_end_of_line' and is more convenient to
set inside the various draw_glyph_string functions.

* src/dispnew.c (scrolling_window): Disable if a row in the
current matrix has the stipple_p flag set.

* src/xdisp.c (gui_clear_end_of_line):
* src/xterm.c (x_draw_image_glyph_string)
(x_draw_stretch_glyph_string, x_draw_glyph_string): Set
`stipple_p' if a stipple pattern was drawn.
src/dispextern.h
src/dispnew.c
src/xdisp.c
src/xterm.c