diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2015-12-08 16:33:45 +0100 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2016-01-08 11:55:41 +0100 |
commit | 120088b15f082c2da62a8cea25ba7da53ddb69d6 (patch) | |
tree | b87cb19f212032a90977a2a9816d472a4e265a7e /gtk/gtkactionable.c | |
parent | 28f011eb055673d8944cd6e012bc5d84bae41a26 (diff) | |
download | gtk+-120088b15f082c2da62a8cea25ba7da53ddb69d6.tar.gz |
wayland: Update parent of dialogs without transient
X11 has the notions of "transient for group", and while it's an ICCCM
violation, it's commonly used and documented that a window manager
would treat a window with transient_for set to None to transient for all
windows of its group.
gtk uses this when an application sets a dialog type window but does not
specify an explicit transient.
While this works on X11, there is no such thing as groups in Wayland and
the closest equivalent which is set_parent() in xdg-shell takes only one
parent. This is what is used for modal dialogs.
To get something similar in behavior to what is available on X11, a
solution is to update the parent() of the dialogs without transient when
the active surface changes.
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759161
Diffstat (limited to 'gtk/gtkactionable.c')
0 files changed, 0 insertions, 0 deletions