[vte/vte-0-44] widget: Properly remove the cursor from its old position



commit 66a4c95a414c38a010c30fc25c3534516c058055
Author: Egmont Koblinger <egmont gmail com>
Date:   Wed Mar 30 10:46:53 2016 +0200

    widget: Properly remove the cursor from its old position
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764299
    (cherry picked from commit e5a00b5b71194be9f2881dee67d82c308406dea7)

 src/vte.cc |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index cf052be..5ba70d3 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -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();
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]