begin_resize_drag() and begin_move_drag() check for xdg_surface being
not null, but those apply on xdg_toplevel so they should check for
xdg_toplevel being non-null instead.
https://bugzilla.gnome.org/show_bug.cgi?id=781945
impl = GDK_WINDOW_IMPL_WAYLAND (window->impl);
- if (!impl->display_server.xdg_surface)
+ if (!impl->display_server.xdg_toplevel)
return;
serial = _gdk_wayland_seat_get_last_implicit_grab_serial (gdk_device_get_seat (device),
impl = GDK_WINDOW_IMPL_WAYLAND (window->impl);
- if (!impl->display_server.xdg_surface)
+ if (!impl->display_server.xdg_toplevel)
return;
serial = _gdk_wayland_seat_get_last_implicit_grab_serial (gdk_device_get_seat (device),