RFR: 8217955: Problems with touch input and JavaFX 11
Kevin Rushforth
kcr at openjdk.java.net
Wed Apr 7 12:36:37 UTC 2021
On Mon, 5 Apr 2021 18:59:52 GMT, Jose Pereda <jpereda at openjdk.org> wrote:
> This PR filters out `GDK_TOUCH_EVENT_MASK` from `GDK_ALL_EVENTS_MASK` to prevent touch events from being used instead of regular mouse events on Linux platforms. Note that the touch events will be delivered as mouse pressed/dragged events.
>
> Since we still compile with GTK 2.x the bit flag (that was introduced in GTK 3.4) needs to be defined.
>
> This PR has been tested on Ubuntu 20.04 with a touch enabled display.
I think we can proceed with this PR. It can be adjusted (or reverted) if touch support is added in the future.
-------------
Marked as reviewed by kcr (Lead).
PR: https://git.openjdk.java.net/jfx/pull/457
More information about the openjfx-dev
mailing list