summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
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);
}
}