mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
wayland: Set type for GtkSelectionData for incoming contents
This is set from the incoming property type under X11. Under Wayland it will always be what we requested, so we can just set it to the target.
This commit is contained in:
parent
8e8951df72
commit
2ffcc8a453
@ -247,6 +247,7 @@ _request_generic_cb (GdkDevice *device,
|
||||
|
||||
selection_data.selection = GDK_SELECTION_CLIPBOARD;
|
||||
selection_data.target = closure->target;
|
||||
selection_data.type = closure->target;
|
||||
selection_data.length = len;
|
||||
selection_data.data = (guchar *)data;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user