RFR: 8292922 - [Linux] No more drag events when new Stage is created in drag handler [v6]

Thiago Milczarek Sayao tsayao at openjdk.org
Fri Dec 23 13:54:59 UTC 2022


On Fri, 23 Dec 2022 13:21:15 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Thiago Milczarek Sayao has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Grab drag focus on drag
>
> modules/javafx.graphics/src/main/native-glass/gtk/glass_window.cpp line 353:
> 
>> 351:         // and no exit/enter event should be reported during this drag.
>> 352:         // We can grab mouse pointer for these needs.
>> 353:         grab_mouse_drag_focus();
> 
> Now that this code has moved here, it will be called every time the mouse moves during a drag operation. It should only be called once when the drag first starts.

Fixed

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

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


More information about the openjfx-dev mailing list