]> git.eshelyaron.com Git - emacs.git/commit
Fix display of stipples on NS with respect to cursor highlight
authorPo Lu <luangruo@yahoo.com>
Thu, 2 May 2024 08:56:26 +0000 (16:56 +0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 6 May 2024 16:33:38 +0000 (18:33 +0200)
commita625ec9510f4c44af5d81265e8e971efe5c2907d
tree21b4d6179de4fe5bd44ff2886cc8c9c0143291ac
parent6d0289c3ecc94e8252b16f7f8e66a230b48939ae
Fix display of stipples on NS with respect to cursor highlight

* src/nsfont.m (nsfont_draw): Delete redundant code.

* src/nsterm.m (ns_maybe_dumpglyphs_background): Conform logic
to X version by always displaying the background if s->stipple_p
should be set.
(ns_draw_stretch_glyph_string): Set stipple background as
appropriate.
(ns_set_glyph_string_gc): New function.
(ns_draw_glyph_string): Call it, as on X.  Reported by Arash
Esbati <arash@gnu.org>.

(cherry picked from commit ef6ffbdc79645e719d3b5ef23c9200405c58c61e)
src/nsfont.m
src/nsterm.m