]> git.eshelyaron.com Git - emacs.git/commit
Fix display of cursor on underlined text
authorEli Zaretskii <eliz@gnu.org>
Sun, 5 Mar 2017 15:49:22 +0000 (17:49 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 5 Mar 2017 15:49:22 +0000 (17:49 +0200)
commit8e1ae12c37d373007daabcba51b78163a88e55f4
tree85d431a0d449e31f79857d9eaa94bf4d9062a3f9
parent67073248693bf460a92769cbea06168aa7b720c6
Fix display of cursor on underlined text

* src/nsterm.m (ns_draw_text_decoration):
* src/xterm.c (x_draw_glyph_string):
* src/w32term.c (x_draw_glyph_string): Compute the position and
thickness of the underline by looking for the first glyph of the
run of underlined glyphs that includes the glyph string we are
drawing.  (Bug#25845)
src/nsterm.m
src/w32term.c
src/xterm.c