[Webkit-unassigned] [Bug 212324] [GTK4] Add support for touch events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 4 00:59:43 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=212324

--- Comment #3 from Alexander Mikhaylenko <alexm at gnome.org> ---
Comment on attachment 427570
  --> https://bugs.webkit.org/attachment.cgi?id=427570
Patch, rewrite GTK gesture support to work similarly in GTK3/4

View in context: https://bugs.webkit.org/attachment.cgi?id=427570&action=review

> Source/WebKit/UIProcess/gtk/ViewGestureControllerGtk.cpp:417
> +    graphene_point_t translation = { static_cast<float>(swipingLayerOffset), 0 };

Can we use things like &GRAPHENE_POINT_INIT() in WebKit? Then it could be like

`gtk_snapshot_translate(snapshot, &GRAPHENE_POINT_INIT (whatever, 0));`

Also, any reason to use `static_cast<float>` here but `(float)` below?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210504/dd112fac/attachment.htm>


More information about the webkit-unassigned mailing list