[vte/wip/egmont/bidi: 44/73] invalidate all



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

    invalidate all

 src/vte.cc | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/vte.cc b/src/vte.cc
index 65b2d97b..07e3af50 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -253,6 +253,13 @@ Terminal::invalidate_rows(vte::grid::row_t row_start,
                           row_start, row_end);
        _vte_debug_print (VTE_DEBUG_WORK, "?");
 
+        // HACK for BiDi: Always invalidate everything.
+        // In fact we'd need to invalidate the entire implicit paragraph.
+       if (TRUE) {
+               invalidate_all();
+               return;
+       }
+
         // FIXMEegmont what if we're scrolled back and these are not the last rows?
         if (row_end - row_start + 1 == m_row_count) {
                invalidate_all();


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