Mercurial > emacs
comparison src/dispnew.c @ 44815:cf2454d3a103
(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.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 24 Apr 2002 17:05:44 +0000 |
parents | 79c7463828d6 |
children | 01b93e5e53a7 |
comparison
equal
deleted
inserted
replaced
44814:06d704d7ed94 | 44815:cf2454d3a103 |
---|---|
4265 desired_row->used[TEXT_AREA]); | 4265 desired_row->used[TEXT_AREA]); |
4266 | 4266 |
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 { |
4273 int stop, i, x; | 4283 int stop, i, x; |
4274 struct glyph *current_glyph = current_row->glyphs[TEXT_AREA]; | 4284 struct glyph *current_glyph = current_row->glyphs[TEXT_AREA]; |