[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/dispnew.c
From: |
Gerd Moellmann |
Subject: |
[Emacs-diffs] Changes to emacs/src/dispnew.c |
Date: |
Wed, 24 Apr 2002 13:05:47 -0400 |
Index: emacs/src/dispnew.c
diff -c emacs/src/dispnew.c:1.306 emacs/src/dispnew.c:1.307
*** emacs/src/dispnew.c:1.306 Sun Apr 14 04:16:33 2002
--- emacs/src/dispnew.c Wed Apr 24 13:05:44 2002
***************
*** 4267,4272 ****
--- 4267,4282 ----
/* Clear to end of window. */
rif->clear_end_of_line (-1);
changed_p = 1;
+
+ /* This erases the cursor. We do this here because
+ notice_overwritten_cursor cannot easily check this, which
+ might indicate that the whole functionality of
+ notice_overwritten_cursor would better be implemented here.
+ On the other hand, we need notice_overwritten_cursor as long
+ as mouse highlighting is done asynchronously outside of
+ redisplay. */
+ if (vpos == w->phys_cursor.vpos)
+ w->phys_cursor_on_p = 0;
}
else
{