[PATCH v2] protocol: Improve data source notification around DnD progress

Carlos Garnacho carlosg at gnome.org
Mon Nov 2 08:46:35 PST 2015


Hey!,

On Sat, Oct 31, 2015 at 12:06 AM, Michael Catanzaro
<mcatanzaro at igalia.com> wrote:
> On Fri, 2015-10-30 at 21:55 +0100, Carlos Garnacho wrote:
>> Changes since v1:
>>   - Renamed events to have a common "dnd" namespace.
>
> I don't think this was a great change. The event occurs on drop, and
> the previous name described that perfectly, whereas with the new name
> it's not very clear how it's different from dnd_finished. Maybe
> dnd_drop_performed would be better, if slightly redundant.

Yeah I see your point, the semantical difference between "performed"
and "finished" may be blurry enough. Reading bits of the thread again,
it might be what Jonas had in mind since the beginning? I'm stashing
that locally, but will wait for more opinions before resending.

>
>> @@ -423,7 +423,9 @@
>>       Indicate that the client can accept the given mime type, or
>>       NULL for not accepted.
>>
>> -     Used for feedback during drag-and-drop.
>> +     This request mandates the final result of the drag-and-drop
>> +     operation. If the end result is that no mimetype is
>> accepted,
>> +     the drag source will receive drag_source.cancelled.
>>        </description>
>>
>>        <arg name="serial" type="uint"/>
>
> Nit: "mandates" is not a great choice of word here... how about
> "determines" instead?

Agreed (on both places), changed locally.

> Reviewed-by: Michael Catanzaro <mcatanzaro at igalia.com>

Thanks!

  Carlos


More information about the wayland-devel mailing list