[gtk/wip/matthiasc/popup2: 52/58] popup: small cleanup



commit 2325bb168b3cc55e63a8a6691aedd77e8126382a
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]