mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
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
This commit is contained in:
parent
fa3e0be80c
commit
9d1b8dfc61
@ -1545,6 +1545,9 @@ gtk_popover_show (GtkWidget *widget)
|
|||||||
{
|
{
|
||||||
GtkPopoverPrivate *priv = GTK_POPOVER (widget)->priv;
|
GtkPopoverPrivate *priv = GTK_POPOVER (widget)->priv;
|
||||||
|
|
||||||
|
if (priv->window)
|
||||||
|
_gtk_window_raise_popover (priv->window, widget);
|
||||||
|
|
||||||
priv->visible = TRUE;
|
priv->visible = TRUE;
|
||||||
|
|
||||||
GTK_WIDGET_CLASS (gtk_popover_parent_class)->show (widget);
|
GTK_WIDGET_CLASS (gtk_popover_parent_class)->show (widget);
|
||||||
|
Loading…
Reference in New Issue
Block a user