Some more infos: 1. The webkit gtk/gdk code can be found here: https://github.com/WebKit/WebKit/blob/main/Source/WebKit/UIProcess/gtk/ViewGestureControllerGtk.cpp 2. Another good place to look appears to be libhandy -> hdy-swipe-tracker.c 3. For the webkit implementation, a lot of previous MacOS code was made cross-platform 4. In order to follow system style on Gnome, we'd have to implement something similar to libhandy/webkit 5. FF and Chrome on MacOS don't really follow system style but just show some arrow indicators - should be much easier that way (maybe can even reuse MacOS code here?)
Bug 1529605 Comment 5 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Some more infos: 1. The webkit gtk/gdk code can be found here: https://github.com/WebKit/WebKit/blob/main/Source/WebKit/UIProcess/gtk/ViewGestureControllerGtk.cpp 2. Another good place to look appears to be libhandy -> hdy-swipe-tracker.c 3. For the webkit implementation, a lot of previous MacOS code was made cross-platform 4. In order to follow system style on Gnome, we'd have to implement something similar to libhandy/webkit 5. FF and Chrome on MacOS don't really follow system style but just show some arrow indicators - should be much easier that way (maybe can even reuse MacOS code here?) 6. Wayland and XI2 seem to handle scroll event equally - so doing two-finger swipes (which are actually just scroll events) can be handled for both Wayland and X11 the same way.