wayland: attempt to determine the possible parent surface for popups

Use the surface beneath the device that created the grab as the transient
parent for the popup surfaces.

https://bugzilla.gnome.org/show_bug.cgi?id=693913
This commit is contained in:
Thomas Wood
2013-02-15 11:16:51 +00:00
committed by Cosimo Cecchi
parent ec43a1f72a
commit fbc0572068
3 changed files with 27 additions and 2 deletions

View File

@ -155,6 +155,7 @@ void _gdk_wayland_display_manager_remove_display (GdkDisplayManager *manager,
GdkDisplay *display);
void _gdk_wayland_window_set_device_grabbed (GdkWindow *window,
GdkDevice *device,
struct wl_seat *seat,
guint32 time_);