RFR: 8320965: Scrolling on a touch enabled display fails on Wayland [v3]

Kevin Rushforth kcr at openjdk.org
Thu Feb 22 14:41:03 UTC 2024


On Mon, 19 Feb 2024 11:45:04 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

>> Jose Pereda has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add compile-time checks to GdkSeat
>
> The rationale was:
> 
> This tells which events get delivered to the window while grabbing. XWayland might be sensitive to `GDK_TOUCH_MASK` while Xorg is not.
> 
> So the Idea was to keep the current way (with `gdk_pointer_grab` or `gdk_device_grab`, and adding the "deliver TOUCH events to me" might fix it.
> 
> Another place to investigate is:
> 
> 
> #define GDK_FILTERED_EVENTS_MASK static_cast<GdkEventMask>(GDK_ALL_EVENTS_MASK \
>                 & ~GDK_TOUCH_MASK)
> 
> 
> 
> It seems that Xorg converts touch events to regular mouse events, but XWayland might be different.

@tsayao can you re-review?

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

PR Comment: https://git.openjdk.org/jfx/pull/1305#issuecomment-1959590000


More information about the openjfx-dev mailing list