RFR: 8217955: Problems with touch input and JavaFX 11

Kevin Rushforth kcr at openjdk.java.net
Mon Apr 5 22:29:17 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.

@pankaj-bansal It looks OK to me, but can you also take a look at this?

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

PR: https://git.openjdk.java.net/jfx/pull/457


More information about the openjfx-dev mailing list