# HG changeset patch # User Gerd Moellmann # Date 1019667944 0 # Node ID cf2454d3a103c19b234781fcf55334d06a91ce66 # Parent 06d704d7ed94a9d926a626f4ccc2f62beac0cad2 (update_text_area): Set phys_cursor_on_p to 0 in the case of writing a whole row, more or less analogous to the case of writing only parts of a row. diff -r 06d704d7ed94 -r cf2454d3a103 src/dispnew.c --- a/src/dispnew.c Wed Apr 24 17:03:03 2002 +0000 +++ b/src/dispnew.c Wed Apr 24 17:05:44 2002 +0000 @@ -4267,6 +4267,16 @@ /* 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 {