[PATCH weston 5/5] dnd: Turn into a full blown example

Bill Spitzak spitzak at gmail.com
Tue Dec 22 12:42:38 PST 2015


On Mon, Dec 21, 2015 at 5:33 PM, Carlos Garnacho <carlosg at gnome.org> wrote:

> In order to keep things simple, weston-dnd made a few choices that
> turn out to be unrealistic, a few tweaks have been done to make it
> less of a playground demo:
>
> - It now caters for copy/move operations, instead of just move,
>   which still remains the default nonetheless.
> - As "move" operations are no longer assumed, the item isn't removed
>   on start_drag, instead it is made translucent until the drag
>   operation finishes (and we know whether the item is to be
>   removed after transfer or left as is)
>

A much better demo would be to alter the opacity depending on the selected
action: if it is move then the source vanishes, if it is copy it remains
opaque, and if it is not known it is the translucent value.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151222/f5f10b9b/attachment-0001.html>


More information about the wayland-devel mailing list