[gtk+/wip/garnacho/gdkseat: 192/193] wayland: Replace deprecated functions
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/garnacho/gdkseat: 192/193] wayland: Replace deprecated functions
- Date: Wed, 9 Dec 2015 12:36:20 +0000 (UTC)
commit 0fc5a3e734fb83babfad46647a2b8771c4b19d83
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Dec 9 12:55:39 2015 +0100
wayland: Replace deprecated functions
We can just gdk_seat_ungrab() here.
gdk/wayland/gdkwindow-wayland.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 60dfc59..680f53e 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -2219,7 +2219,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
@@ -2254,7 +2254,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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]