[gtk+/wip/garnacho/gdkseat: 70/74] wayland: Replace deprecated functions
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/garnacho/gdkseat: 70/74] wayland: Replace deprecated functions
- Date: Mon, 14 Dec 2015 20:08:32 +0000 (UTC)
commit 3e91cbcbd9eb32baeaf5c92793e5b0bb70722751
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.
https://bugzilla.gnome.org/show_bug.cgi?id=759309
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 9354c0d..0c56c2e 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]