Commit 267a63b0 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix cursor display on the fringe of R2L screen lines.

 src/xdisp.c (display_and_set_cursor): Call erase_phys_cursor also
 when HPOS is negative, for the benefit of R2L glyph rows whose
 newline overflows into the fringe.
parent 9f1b8596
2014-08-31 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (display_and_set_cursor): Call erase_phys_cursor also
when HPOS is negative, for the benefit of R2L glyph rows whose
newline overflows into the fringe.
2014-08-30 Ken Brown <kbrown@cornell.edu>
* conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define.
......
......@@ -27464,6 +27464,10 @@ display_and_set_cursor (struct window *w, bool on,
&& (!on
|| w->phys_cursor.x != x
|| w->phys_cursor.y != y
/* HPOS can be negative in R2L rows whose
exact_window_width_line_p flag is set (i.e. their newline
would "overflow into the fringe"). */
|| hpos < 0
|| new_cursor_type != w->phys_cursor_type
|| ((new_cursor_type == BAR_CURSOR || new_cursor_type == HBAR_CURSOR)
&& new_cursor_width != w->phys_cursor_width)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment