[vte/wip/egmont/bidi: 63/82] invalidate all



commit ac71f7fa7789c5102324d25aefde92ed84561af9
Author: Egmont Koblinger <egmont gmail com>
Date:   Tue Aug 28 13:52:29 2018 +0200

    invalidate all

 src/vte.cc | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index fb1e8583..54041f9a 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -255,12 +255,9 @@ Terminal::invalidate_cells(vte::grid::column_t column_start,
                        n_columns, n_rows);
        _vte_debug_print (VTE_DEBUG_WORK, "?");
 
-        // HACK for BiDi: Always invalidate the entire row
-        column_start = 0;
-        n_columns = m_column_count;
-
-       if (n_columns == m_column_count &&
-            n_rows == m_row_count) {
+        // HACK for BiDi: Always invalidate everything.
+        // In fact we'd need to invalidate the entire implicit paragraph.
+       if (TRUE) {
                invalidate_all();
                return;
        }


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