[vte/wip/egmont/bidi: 87/104] crash



commit d3437a45f3b7d737596bb96c7d66365f3307f354
Author: Egmont Koblinger <egmont gmail com>
Date:   Tue Feb 19 15:01:00 2019 +0100

    crash

 src/vte.cc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index d5ed90cf..00884271 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -10652,8 +10652,13 @@ Terminal::process(bool emit_adj_changed)
                         process_incoming();
                 }
                 m_input_bytes = 0;
-        } else
+        } else {
+                // FIXMEegmont why is it needed here, and is this the best place?
+                // Without this, sudden two-finger kinetic scrolls result in crash.
+                ringview_maybe_update();
+
                 emit_pending_signals();
+        }
 
         return is_active;
 }


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