On Mon, 5 Apr 2021 22:25:55 GMT, Kevin Rushforth <k...@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? If anyone would implement touch events, the change would need to be rolled back? If you catch and consume touch events, would it also work? I don't own a touch device and `GTK_DEBUG=touchscreen` seems to work only with gtk signals (not gdk events). ------------- PR: https://git.openjdk.java.net/jfx/pull/457