[gtk/wip/otte/matthiasc/popup2: 42/92] popup: small cleanup



commit be33467c9aef353b0ee5c85ae6a10ba575e49e16
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]