mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
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:
parent
56ac58c584
commit
384a4e6ddb
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user