[gtk/matthiasc/for-master: 6/6] text view: Fix touch selection



commit 7672e6c833f3f1a5904f51d4049fb2428ebe6446
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Mar 19 09:46:53 2020 -0400

    text view: Fix touch selection
    
    We forgot to allocated that popover.

 gtk/gtktextview.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 426d34880f..19d0b946d6 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -4441,6 +4441,9 @@ gtk_text_view_size_allocate (GtkWidget *widget,
 
   if (priv->text_handles[TEXT_HANDLE_SELECTION_BOUND])
     gtk_native_check_resize (GTK_NATIVE (priv->text_handles[TEXT_HANDLE_SELECTION_BOUND]));
+
+  if (priv->selection_bubble)
+    gtk_native_check_resize (GTK_NATIVE (priv->selection_bubble));
 }
 
 static void


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