[gtk+] popover: Request raise on ::show
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] popover: Request raise on ::show
- Date: Tue, 3 Nov 2015 12:25:47 +0000 (UTC)
commit 9d1b8dfc61aaf88a4bb4c64a35acdf02ca1db4da
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Oct 22 18:13:19 2015 +0200
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index b9e30fb..8ead636 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]