On Tue, 18 Jan 2022 12:51:56 GMT, Dmitry Markov <dmar...@openjdk.org> wrote:

> When an object is moved from one window (DnD source) to another window (DnD 
> target) the first window may also be considered as a DnD target and the 
> native OS sends corresponding events to it. That event processing clears 
> isInDoDragDropLoop flag, which is currently used to indicate DnD operation, 
> and causes a hang.
> 
> Fix:
> It is necessary to distinguish events related to the DnD source and events 
> related to the DnD target, (i.e. use two indication flags).
> 
> Testing:
> mach5 green

Marked as reviewed by prr (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/7125

Reply via email to