guint32 timestamp)
{
GdkWindowImplWayland *impl;
+ GdkWaylandDisplay *wayland_display =
+ GDK_WAYLAND_DISPLAY (gdk_window_get_display (window));
+
uint32_t grab_type;
if (GDK_WINDOW_DESTROYED (window) ||
wl_shell_surface_resize (impl->shell_surface,
_gdk_wayland_device_get_wl_seat (device),
- timestamp, grab_type);
+ _gdk_wayland_display_get_serial (wayland_display),
+ grab_type);
/* This is needed since Wayland will absorb all the pointer events after the
* above function - FIXME: Is this always safe..?
guint32 timestamp)
{
GdkWindowImplWayland *impl;
+ GdkWaylandDisplay *wayland_display =
+ GDK_WAYLAND_DISPLAY (gdk_window_get_display (window));
if (GDK_WINDOW_DESTROYED (window) ||
!WINDOW_IS_TOPLEVEL (window))
impl = GDK_WINDOW_IMPL_WAYLAND (window->impl);
wl_shell_surface_move (impl->shell_surface,
- _gdk_wayland_device_get_wl_seat (device), timestamp);
+ _gdk_wayland_device_get_wl_seat (device),
+ _gdk_wayland_display_get_serial (wayland_display));
/* This is needed since Wayland will absorb all the pointer events after the
* above function - FIXME: Is this always safe..?