mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
wayland: wl_data_device.enter provides a serial number, not a timestamp
This commit is contained in:
parent
7e4bcf9102
commit
56ac58c584
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user