[vte/wip/egmont/bidi: 52/84] invalidate all



commit 9a46b5178292c9c434b2ad2866c82ca6c642cdce
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 e4a76228..9d3acfb2 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -250,6 +250,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;
+       }
+
         /* Scrolled back, visible parts didn't change. */
         if (row_start > last_displayed_row())
                 return;


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