[gtk/wip/matthiasc/popup2: 43/103] popup: small cleanup



commit 03b6c2f1f0f98376f7c6e70f32f19a825dcba756
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Mar 19 18:50:45 2019 -0400

    popup: small cleanup
    
    Since we're grabbing now, no need to focus the surface.

 gtk/gtkpopup.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/gtk/gtkpopup.c b/gtk/gtkpopup.c
index e60547ba25..34dcae7623 100644
--- a/gtk/gtkpopup.c
+++ b/gtk/gtkpopup.c
@@ -333,8 +333,6 @@ gtk_popup_map (GtkWidget *widget)
   child = gtk_bin_get_child (GTK_BIN (widget));
   if (child != NULL && gtk_widget_get_visible (child))
     gtk_widget_map (child);
-
-  gdk_surface_focus (priv->surface, gtk_get_current_event_time ());
 }
 
 static void


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