]> git.eshelyaron.com Git - emacs.git/commit
Clean up mouse highlight in R2L lines.
authorEli Zaretskii <eliz@gnu.org>
Sat, 28 Aug 2010 15:23:10 +0000 (18:23 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 28 Aug 2010 15:23:10 +0000 (18:23 +0300)
commit1b5a721bd5135792fface8df3849c3c42d4ca2c5
tree5d7fd26cdc3318f85125581215c4c6eb2e019ecf
parent1554d88e5ba8f6365f38bc2a2e4f7ca778c54868
Clean up mouse highlight in R2L lines.

 xdisp.c (coords_in_mouse_face_p): New function, bidi-aware.
 (cursor_in_mouse_face_p, note_mouse_highlight, erase_phys_cursor):
 Call it instead of comparing with mouse-face members of dpyinfo.
 (note_mode_line_or_margin_highlight): Fix confusingly swapped
 usage of hpos and vpos.
src/ChangeLog
src/xdisp.c