]> git.eshelyaron.com Git - emacs.git/commit
A better fix for drawing hollow cursor on X on 1-pixel thin space characters.
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 Oct 2014 13:09:18 +0000 (16:09 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Oct 2014 13:09:18 +0000 (16:09 +0300)
commita4c80e35cc48376a3e35b11ee41cf3859b93efd5
treee8f5965310768d4e5668d6c051fabf3a60ef115a
parent6b247d287327777dfd29e20eac177c2005e99b45
A better fix for drawing hollow cursor on X on 1-pixel thin space characters.

 src/xterm.c (x_draw_bar_cursor, x_draw_hollow_cursor): Subtract 1
 pixel from the window's cursor glyph width, since X renders hollow
 blocks 1 pixel wider than the 'width' parameter.
 src/xdisp.c (get_phys_cursor_geometry): Don't subtract 1 pixel from
 glyph->pixel_width; this is now done in xterm.c.
src/ChangeLog
src/xdisp.c
src/xterm.c