On Thu, 19 Jan 2023 16:16:18 GMT, Thiago Milczarek Sayao <[email protected]> 
wrote:

> When running on Wayland the `GDK_DRAG_LEAVE` is sent just after 
> `GDK_DROP_START`. The leave event causes java to set `dragGesture` to `null`. 
> On Xorg this event is not sent. 
> 
> The fix just ignores the leave event if a drop occurred.

Looks good. I reproduced the bug on Wayland, and can confirm that this fixes 
the problem

@andy-goryachev-oracle Can you also review this?

-------------

Marked as reviewed by kcr (Lead).

PR: https://git.openjdk.org/jfx/pull/1005

Reply via email to