diff options
| author | Gerd Moellmann | 2002-04-24 17:06:09 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2002-04-24 17:06:09 +0000 |
| commit | 60f2f3f1de2b48cf48d70f0ccb27978f7c628f69 (patch) | |
| tree | 758cd296b6ed129ba9420927c97a8171d3ceba5e | |
| parent | 4398e6736e74c34f99dc43571b244ba2eb4791fb (diff) | |
| download | emacs-60f2f3f1de2b48cf48d70f0ccb27978f7c628f69.tar.gz emacs-60f2f3f1de2b48cf48d70f0ccb27978f7c628f69.zip | |
(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.
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/dispnew.c | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b5dabee3d81..7e28431348c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> | 1 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the | ||
| 4 | case of writing a whole row, more or less analogous to the case of | ||
| 5 | writing only parts of a row. | ||
| 6 | |||
| 7 | * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to | ||
| 8 | 0 for NO_CURSOR. | ||
| 9 | |||
| 3 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. | 10 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. |
| 4 | 11 | ||
| 5 | 2002-04-23 Colin Walters <walters@verbum.org> | 12 | 2002-04-23 Colin Walters <walters@verbum.org> |
diff --git a/src/dispnew.c b/src/dispnew.c index be075171c44..f19f111a728 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -4267,6 +4267,16 @@ update_text_area (w, vpos) | |||
| 4267 | /* Clear to end of window. */ | 4267 | /* Clear to end of window. */ |
| 4268 | rif->clear_end_of_line (-1); | 4268 | rif->clear_end_of_line (-1); |
| 4269 | changed_p = 1; | 4269 | changed_p = 1; |
| 4270 | |||
| 4271 | /* This erases the cursor. We do this here because | ||
| 4272 | notice_overwritten_cursor cannot easily check this, which | ||
| 4273 | might indicate that the whole functionality of | ||
| 4274 | notice_overwritten_cursor would better be implemented here. | ||
| 4275 | On the other hand, we need notice_overwritten_cursor as long | ||
| 4276 | as mouse highlighting is done asynchronously outside of | ||
| 4277 | redisplay. */ | ||
| 4278 | if (vpos == w->phys_cursor.vpos) | ||
| 4279 | w->phys_cursor_on_p = 0; | ||
| 4270 | } | 4280 | } |
| 4271 | else | 4281 | else |
| 4272 | { | 4282 | { |