I think the dnd client needs to handle normal mouse enter events and set the cursor. If the server is not sending an enter right after the drop then this is a bug, right?

On 11/18/2014 02:24 PM, Derek Foreman 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.

This patch stores the input device that last entered the window, and
sets its mouse cursor as new items are dropped.

+               input_get_position(dnd->last_input, &x, &y);
+               input_set_pointer_image(dnd->last_input,
+                                       lookup_cursor(dnd, x, y));

Can't you just use the xy from the dnd event here?
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to