emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117468: Fix cursor display on the fringe of R2L


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 r117468: Fix cursor display on the fringe of R2L screen lines.
Date: Sun, 31 Aug 2014 15:54:02 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117468
revision-id: address@hidden
parent: address@hidden
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Sun 2014-08-31 18:53:27 +0300
message:
  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.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/xdisp.c                    xdisp.c-20091113204419-o5vbwnq5f7feedwu-240
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-08-30 19:47:56 +0000
+++ b/src/ChangeLog     2014-08-31 15:53:27 +0000
@@ -1,3 +1,9 @@
+2014-08-31  Eli Zaretskii  <address@hidden>
+
+       * 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  <address@hidden>
 
        * conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define.

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2014-08-18 15:38:56 +0000
+++ b/src/xdisp.c       2014-08-31 15:53:27 +0000
@@ -27464,6 +27464,10 @@
       && (!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)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]