]> git.eshelyaron.com Git - emacs.git/commit
Fix display of cursor in mouse-highlighted face with ':box'
authorEli Zaretskii <eliz@gnu.org>
Thu, 14 Oct 2021 08:57:07 +0000 (11:57 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 14 Oct 2021 08:57:07 +0000 (11:57 +0300)
commit64f9fdc812bb2e1f533ae294355d33396985e469
treeb3433e201cd3943f85e38e4584f18003fc9e6cb0
parent9c0128faf7d8de1a017e94595420a16a27321fc1
Fix display of cursor in mouse-highlighted face with ':box'

* src/xdisp.c (erase_phys_cursor, show_mouse_face): Adjust
phys_cursor.x as needed if the cursor is inside mouse-highlight.
(get_cursor_offset_for_mouse_face): New function.
* src/dispnew.c (gui_update_window_end): Set
'mouse_face_overwritten_p' if the cursor is in mouse-face, to
trigger more thorough redisplay of the cursor.
(Bug#50660)
src/dispnew.c
src/xdisp.c