[vte/wip/egmont/bidi: 88/107] crash



commit 63ce9e5b785f8a1c08d20b766b02732146320688
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 91637ff6..90caa50b 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]