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.
This commit is contained in:
Rob Bradford 2012-07-11 14:37:46 +01:00
parent 8d7869ecbb
commit 0d1ae2e0dd

View File

@ -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);
}
}