[gtk+/wayland-selections: 7/17] wayland: Fix x/y coordinate arguments on wl_data_device events
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wayland-selections: 7/17] wayland: Fix x/y coordinate arguments on wl_data_device events
- Date: Fri, 22 Aug 2014 14:13:34 +0000 (UTC)
commit dee0a5f42bfe96828681fec303060e5c36b4b6e1
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Aug 21 19:01:32 2014 +0200
wayland: Fix x/y coordinate arguments on wl_data_device events
Those are wl_fixed_t, not int.
gdk/wayland/gdkdevice-wayland.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 48771d0..1d3a52d 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -575,8 +575,8 @@ data_device_enter (void *data,
struct wl_data_device *data_device,
uint32_t serial,
struct wl_surface *surface,
- int32_t x,
- int32_t y,
+ wl_fixed_t x,
+ wl_fixed_t y,
struct wl_data_offer *offer)
{
GdkWaylandDeviceData *device = (GdkWaylandDeviceData *)data;
@@ -608,8 +608,8 @@ static void
data_device_motion (void *data,
struct wl_data_device *data_device,
uint32_t time,
- int32_t x,
- int32_t y)
+ wl_fixed_t x,
+ wl_fixed_t y)
{
g_debug (G_STRLOC ": %s data_device = %p, time = %d, x = %d, y = %d",
G_STRFUNC, data_device, time, x, y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]