summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2012-07-11 14:37:46 +0100
committerRob Bradford <rob@linux.intel.com>2012-07-12 15:58:38 +0100
commit0d1ae2e0dda2470deaaa034281a366e369d3d2d3 (patch)
treec762d81ef08bad6039c2b9668b5f28c03c445484 /gdk
parent8d7869ecbba53302da1f35974f5cdd1735be4dd4 (diff)
downloadgtk+-0d1ae2e0dda2470deaaa034281a366e369d3d2d3.tar.gz
wayland: Protocol change: wl_shell_surface_* take surfaces for parents
These functions used to take shell_surface objects and now take surface objects the parents.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/wayland/gdkwindow-wayland.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 70bea608f2..edc6e89677 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -643,10 +643,10 @@ gdk_wayland_window_map (GdkWindow *window)
*/
wl_shell_surface_set_popup (impl->shell_surface,
parent->grab_input_seat, parent->grab_time,
- parent->shell_surface,
+ parent->surface,
window->x, window->y, 0);
} else {
- wl_shell_surface_set_transient (impl->shell_surface, parent->shell_surface,
+ wl_shell_surface_set_transient (impl->shell_surface, parent->surface,
window->x, window->y, 0);
}
}