[gtk/wip/matthiasc/shortcut-2: 110/117] text view: Fix touch selection



commit 8bf58c545cf7dea2a6bdd1d39dce66e6000b335b
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 793e97a8b8..60842f76f5 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -4475,6 +4475,9 @@ gtk_text_view_size_allocate (GtkWidget *widget,
 
   if (priv->popup_menu)
     gtk_native_check_resize (GTK_NATIVE (priv->popup_menu));
+
+  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]