[PATCH wayland/weston 0/7] drag-and-drop progress notification and actions

Michael Catanzaro mcatanzaro at igalia.com
Sat Dec 19 05:38:47 PST 2015

On Tue, 2015-12-15 at 18:56 +0100, Carlos Garnacho wrote:
>   These patches make it a lot more similar to what GTK+ wants (and I
> assume
>   other toolkits), it is my hope that it helps see how badly we need
> to
>   shape drag-and-drop up to have something usable.

Regarding other toolkits/clients: yes indeed. The first two patches in
this thread are required to implement drag-and-drop in Chromium (in
Ozone-Wayland). Currently I have implemented only drags into Chromium,
but it works only for drags from weston-dnd and only because weston-dnd 
chooses to leak its wl_data_source objects. Without Carlos's progress
notification patches, it is impossible for the source client to know
when to free the data, so the options are to leak the memory as weston-
dnd does, or free it and cancel the drag too soon, as GTK+ does.

It would be quite nice for these to be committed sooner rather than


More information about the wayland-devel mailing list