[PATCH weston] dnd: reset the mouse cursor after adding a new item

Daniel Stone daniel at fooishbar.org
Thu Nov 20 00:18:34 PST 2014


Hi,

On 19 November 2014 22:41, Bill Spitzak <spitzak at gmail.com> wrote:

> On 11/19/2014 07:16 AM, Derek Foreman wrote:
>
>> I'm pretty sure the mouse may have already moved - exactly the same
>> reason as above, this handler is getting the drop co-ords but time has
>> passed since the drop.
>>
>
> You are right about that. I'm not clear on how input_get_position is
> implemented, did the client record the position of each input, or is this
> some sort of round-trip to the server? If the latter it probably should be
> done differently such as recording it in the motion handler.
>

The client records the position. There are no round-trips in the Wayland
protocol.

Cheers,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20141120/a31f499f/attachment-0001.html>


More information about the wayland-devel mailing list