diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2015-10-22 18:09:23 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-11-03 07:14:36 -0500 |
commit | fa3e0be80c67fadfc724493634205bbbef381aa5 (patch) | |
tree | 00617246e3ea60545c20cb48e6098ab52b4c8b04 /gtk/gtkwindowprivate.h | |
parent | 29dd395b7a5b8af0af55c12763e470f1daec287b (diff) | |
download | gtk+-fa3e0be80c67fadfc724493634205bbbef381aa5.tar.gz |
GtkWindow: make popover stacking explicit
The list of popovers will specify the stacking order, a
_gtk_window_raise_popover() private call has been added so popover
widgets can request being on top.
Also, the stacking on popovers is ensured on gtk_window_size_allocate(),
after the size/stacking changes on the child widget have finished, this
will ensure popovers are kept on top of window contents.
https://bugzilla.gnome.org/show_bug.cgi?id=756670
Diffstat (limited to 'gtk/gtkwindowprivate.h')
-rw-r--r-- | gtk/gtkwindowprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkwindowprivate.h b/gtk/gtkwindowprivate.h index 986ca46a79..80253bf55c 100644 --- a/gtk/gtkwindowprivate.h +++ b/gtk/gtkwindowprivate.h @@ -117,6 +117,8 @@ void _gtk_window_get_popover_position (GtkWindow *window, GtkWidget *popover, GtkPositionType *pos, cairo_rectangle_int_t *rect); +void _gtk_window_raise_popover (GtkWindow *window, + GtkWidget *popover); GtkWidget * _gtk_window_get_popover_parent (GtkWindow *window, GtkWidget *popover); |