From 9d1b8dfc61aaf88a4bb4c64a35acdf02ca1db4da Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 22 Oct 2015 18:13:19 +0200 Subject: [PATCH] popover: Request raise on ::show This way latest shown popovers are ensured to be on top. https://bugzilla.gnome.org/show_bug.cgi?id=756670 --- gtk/gtkpopover.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c index b9e30fba4e..8ead636d57 100644 --- a/gtk/gtkpopover.c +++ b/gtk/gtkpopover.c @@ -1545,6 +1545,9 @@ gtk_popover_show (GtkWidget *widget) { GtkPopoverPrivate *priv = GTK_POPOVER (widget)->priv; + if (priv->window) + _gtk_window_raise_popover (priv->window, widget); + priv->visible = TRUE; GTK_WIDGET_CLASS (gtk_popover_parent_class)->show (widget);