summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-08-23 23:04:43 -0700
committerKristian Høgsberg <krh@bitplanet.net>2013-08-23 23:15:53 -0700
commit56ac58c5848062347bcb924ba84f5247473d3a43 (patch)
tree2951eb672ec9b8c981d70fbf24662bafdc80006e /gdk
parent7e4bcf9102903fec445a424fb6e1d974ab191dac (diff)
downloadgtk+-56ac58c5848062347bcb924ba84f5247473d3a43.tar.gz
wayland: wl_data_device.enter provides a serial number, not a timestamp
Diffstat (limited to 'gdk')
-rw-r--r--gdk/wayland/gdkdevice-wayland.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 6027e8d1b9..cb465d90e7 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -489,7 +489,7 @@ data_device_data_offer (void *data,
static void
data_device_enter (void *data,
struct wl_data_device *data_device,
- uint32_t time,
+ uint32_t serial,
struct wl_surface *surface,
int32_t x,
int32_t y,
@@ -497,8 +497,8 @@ data_device_enter (void *data,
{
GdkWaylandDeviceData *device = (GdkWaylandDeviceData *)data;
- g_debug (G_STRLOC ": %s data_device = %p time = %d, surface = %p, x = %d y = %d, offer = %p",
- G_STRFUNC, data_device, time, surface, x, y, offer);
+ g_debug (G_STRLOC ": %s data_device = %p serial = %u, surface = %p, x = %d y = %d, offer = %p",
+ G_STRFUNC, data_device, serial, surface, x, y, offer);
/* Retrieve the DataOffer associated with with the wl_data_offer - this
* association is made when the listener is attached.