On Wed, 7 Apr 2021 08:08:40 GMT, Johan Vos <j...@openjdk.org> wrote:

>> 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 mean on `GlassApplication.cpp` -> `process_events`:
>> 
>> case GDK_TOUCH_BEGIN:
>> case GDK_TOUCH_UPDATE:
>> case GDK_TOUCH_END:
>> case GDK_TOUCH_CANCEL:
>>     gtk_main_do_event(event);
>> 
>> 
>> 
>> 
>> I don't own a touch device and `GTK_DEBUG=touchscreen` seems to work only 
>> with gtk signals (not gdk events).
>
>> If anyone would implement touch events, the change would need to be rolled 
>> back?
> 
> Yes, *if* touch events would be implemented properly at a native level, this 
> change will need to be rolled back. This can be a follow-up issue, but it 
> seems less urgent to me than this particular fix.

I've started working on trying to get the touch support available on Linux, and 
have a branch started here: https://github.com/torbuntu/jfx/tree/touch-support

Still trying to get everything wired up properly.

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

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

Reply via email to