[vte/wip/egmont/bidi: 54/75] invalidate all



commit cb999da3190cdcafd7ef08fc98ee6745cf4c7e0c
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 0cb50102..83fd9f2d 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]