[gtk+] wayland: Use current serial when setting selection, not _wl_time_now()
- From: Kristian Høgsberg <krh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Use current serial when setting selection, not _wl_time_now()
- Date: Sat, 24 Aug 2013 06:16:39 +0000 (UTC)
commit 384a4e6ddbdffcf83b32d1a4eaa41a675a1f791e
Author: Kristian Høgsberg <krh bitplanet net>
Date: Fri Aug 23 23:05:33 2013 -0700
wayland: Use current serial when setting selection, not _wl_time_now()
The wl_data_device.set_selection request expects a serial number.
gdk/wayland/gdkdevice-wayland.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index cb465d9..b4460c0 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -1668,7 +1668,7 @@ gdk_wayland_device_offer_selection_content (GdkDevice
wl_data_device_set_selection (device->data_device,
offer->source,
- _wl_time_now ());
+ _gdk_wayland_display_get_serial (display_wayland));
device->selection_offer_out = offer;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]