wayland: Replace deprecated functions

We can just gdk_seat_ungrab() here.

https://bugzilla.gnome.org/show_bug.cgi?id=759309
This commit is contained in:
Carlos Garnacho
2015-12-09 12:55:39 +01:00
parent 4065bd1e96
commit c7280e4a31

View File

@ -2224,7 +2224,7 @@ gdk_wayland_window_begin_resize_drag (GdkWindow *window,
/* This is needed since Wayland will absorb all the pointer events after the
* above function - FIXME: Is this always safe..?
*/
gdk_device_ungrab (device, timestamp);
gdk_seat_ungrab (gdk_device_get_seat (device));
}
static void
@ -2259,7 +2259,7 @@ gdk_wayland_window_begin_move_drag (GdkWindow *window,
/* This is needed since Wayland will absorb all the pointer events after the
* above function - FIXME: Is this always safe..?
*/
gdk_device_ungrab (device, timestamp);
gdk_seat_ungrab (gdk_device_get_seat (device));
}
static void