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

Bill Spitzak spitzak at gmail.com
Thu Oct 1 11:48:50 PDT 2015


On Wed, Sep 30, 2015 at 1:45 PM, Carlos Garnacho <carlosg at gnome.org> wrote:

>
> - wl_data_source.drop_performed: Happens when the operation has been
>   physically finished (eg. the button is released), it could be the right
>   place to reset the pointer cursor back and undo any other state resulting
>   from the initial button press.
>

This should not be necessary. When the grab is lost, whatever client is
under the pointer should get an enter event and should then set the cursor
to whatever it wants. The dnd source should certainly not set the cursor in
this case because it may set it to the wrong one, resulting in a blink of
this wrong cursor (ie it will quickly change between the drag cursor, the
cursor the source thought it should be, and the actual cursor for that
screen location).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151001/3d0d0fa3/attachment.html>


More information about the wayland-devel mailing list