wayland: Use current serial when setting selection, not _wl_time_now()

The wl_data_device.set_selection request expects a serial number.
This commit is contained in:
Kristian Høgsberg 2013-08-23 23:05:33 -07:00
parent 56ac58c584
commit 384a4e6ddb

View File

@ -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;