diff options
author | Egmont Koblinger <egmont@gmail.com> | 2016-03-30 10:46:53 +0200 |
---|---|---|
committer | Egmont Koblinger <egmont@gmail.com> | 2016-03-30 10:47:39 +0200 |
commit | 66a4c95a414c38a010c30fc25c3534516c058055 (patch) | |
tree | 89bfee036182ba592320c9386051b04bb208d5d0 | |
parent | 0af901285835b330348a576e71e3a320405f4be1 (diff) | |
download | vte-66a4c95a414c38a010c30fc25c3534516c058055.tar.gz |
widget: Properly remove the cursor from its old position
https://bugzilla.gnome.org/show_bug.cgi?id=764299
(cherry picked from commit e5a00b5b71194be9f2881dee67d82c308406dea7)
-rw-r--r-- | src/vte.cc | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -4055,8 +4055,7 @@ next_match: if ((saved_cursor.col != m_screen->cursor.col) || (saved_cursor.row != m_screen->cursor.row)) { /* invalidate the old and new cursor positions */ - // FIXMEchpe shouldn't this be old_cursor_visible with an 'auto old_cursor_visible = ...'above? - if (m_cursor_visible) + if (saved_cursor_visible) invalidate_cell(saved_cursor.col, saved_cursor.row); invalidate_cursor_once(); check_cursor_blink(); @@ -4064,7 +4063,6 @@ next_match: queue_cursor_moved(); } else if ((saved_cursor_visible != m_cursor_visible) || (saved_cursor_style != m_cursor_style)) { - // FIXMEchpe need to invalidate like invalidate_cursor_once() just for the saved_cursor coords! invalidate_cell(saved_cursor.col, saved_cursor.row); check_cursor_blink(); } |