diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/xterm.c | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 69d273a6338..9fed32b0246 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2002-05-23 Kim F. Storm <no-spam@cua.dk> | 1 | 2002-05-23 Kim F. Storm <storm@cua.dk> |
| 2 | 2 | ||
| 3 | * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current | 3 | * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current |
| 4 | phys_cursor's hpos is overwritten. This is still not completely | 4 | phys_cursor's hpos is overwritten. This is still not completely |
diff --git a/src/xterm.c b/src/xterm.c index c87d8981daf..c98d278c771 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -5331,6 +5331,14 @@ x_write_glyphs (start, len) | |||
| 5331 | hpos, hpos + len, | 5331 | hpos, hpos + len, |
| 5332 | DRAW_NORMAL_TEXT, 0); | 5332 | DRAW_NORMAL_TEXT, 0); |
| 5333 | 5333 | ||
| 5334 | /* Invalidate old phys cursor if the glyph at its hpos is redrawn. */ | ||
| 5335 | if (updated_area == TEXT_AREA | ||
| 5336 | && updated_window->phys_cursor_on_p | ||
| 5337 | && updated_window->phys_cursor.vpos == output_cursor.vpos | ||
| 5338 | && updated_window->phys_cursor.hpos >= hpos | ||
| 5339 | && updated_window->phys_cursor.hpos < hpos + len) | ||
| 5340 | updated_window->phys_cursor_on_p = 0; | ||
| 5341 | |||
| 5334 | UNBLOCK_INPUT; | 5342 | UNBLOCK_INPUT; |
| 5335 | 5343 | ||
| 5336 | /* Advance the output cursor. */ | 5344 | /* Advance the output cursor. */ |