[PATCH weston v2] dnd: Fix some mouse cursor issues

Pekka Paalanen ppaalanen at gmail.com
Fri Nov 28 03:15:28 PST 2014


On Thu, 20 Nov 2014 15:32:40 -0600
Derek Foreman <derekf at osg.samsung.com> wrote:

> When ending a drag in the window the cursor will be wrong until the mouse
> is moved again.  This is because the item being dragged isn't added
> until after the enter event.
> 
> Also, when picking up an item while moving the mouse the cursor can switch
> back to a non-drag cursor before the drag begins.  This is because of a
> slight delay between button click and drag start.
> 
> Finally picking up or dropping an item under a second pointer could cause
> that pointer to have the wrong cursor.
> 
> Closes one of the issues in bug 56298
> https://bugs.freedesktop.org/show_bug.cgi?id=56298
> 
> Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
> ---
> 
> Now with better multi-pointer handling.
> 
>  clients/dnd.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++---------
>  1 file changed, 80 insertions(+), 13 deletions(-)

Works for me, pushed.

Thanks,
pq


More information about the wayland-devel mailing list