diff options
author | Benjamin Otte <otte@redhat.com> | 2017-12-13 15:03:53 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-12-13 15:05:27 +0100 |
commit | 8648d5409ea53ef4bb6ad9b7940c32d663af41e5 (patch) | |
tree | ff4d72ef4a6fd0fab462918a6b4896a884841a2a /README.commits | |
parent | c30cd885dd03d745bcb73a2bc5d20129e5cb6e36 (diff) | |
download | gtk+-8648d5409ea53ef4bb6ad9b7940c32d663af41e5.tar.gz |
dnd: Pass content to gdk_drag_begin()
Instead of just passing the GdkContentFormats, we are now passing the
GdkContentProvider to gdk_drag_begin().
This means that GDK itself can now query the data from the provider
directly instead of having to send selection events.
Use this to provide the private API gdk_drag_context_write() that allows
backends to pass an output stream that this data will be written to.
Implement this as the mechanism for providing drag data on Wayland.
And to make this all work, implement a content provider named
GtkDragContent that is implemented by reverting to the old DND
drag-data-get machinery inside GTK, so for widgets everything works just
like before.
Diffstat (limited to 'README.commits')
0 files changed, 0 insertions, 0 deletions