On Wed, 14 Sep 2022 20:35:07 GMT, Marius Hanl <mh...@openjdk.org> wrote:
>> modules/javafx.graphics/src/main/java/javafx/scene/Scene.java line 3671: >> >>> 3669: pdrEventTarget.clear(); >>> 3670: pdrEventTargets.clear(); >>> 3671: fullPDRTmpTargetWrapper.clear(); >> >> the change looks ok to me. >> is this the only place where the clear() is needed? > > Yes, I checked the path of a typical mouse event and this method is always > called when a mouse/drag operation is done. ESCAPE key press during dragging? ------------- PR: https://git.openjdk.org/jfx/pull/899