forked from AuroraMiddleware/gtk
gdkwindow: store transient_for window
https://bugzilla.gnome.org/show_bug.cgi?id=756579
This commit is contained in:
parent
0a5bee2751
commit
48108c401e
@ -203,6 +203,7 @@ struct _GdkWindow
|
|||||||
GdkWindowImpl *impl; /* window-system-specific delegate object */
|
GdkWindowImpl *impl; /* window-system-specific delegate object */
|
||||||
|
|
||||||
GdkWindow *parent;
|
GdkWindow *parent;
|
||||||
|
GdkWindow *transient_for;
|
||||||
GdkVisual *visual;
|
GdkVisual *visual;
|
||||||
|
|
||||||
gpointer user_data;
|
gpointer user_data;
|
||||||
|
@ -10370,6 +10370,8 @@ void
|
|||||||
gdk_window_set_transient_for (GdkWindow *window,
|
gdk_window_set_transient_for (GdkWindow *window,
|
||||||
GdkWindow *parent)
|
GdkWindow *parent)
|
||||||
{
|
{
|
||||||
|
window->transient_for = parent;
|
||||||
|
|
||||||
GDK_WINDOW_IMPL_GET_CLASS (window->impl)->set_transient_for (window, parent);
|
GDK_WINDOW_IMPL_GET_CLASS (window->impl)->set_transient_for (window, parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user