wayland: Implement touchpad gesture events

Desktop / GNOME / GTK - Carlos Garnacho [gnome.org] - 12 August 2015 16:20 UTC

On wayland, the gestures protocol defines a wl_pointer_gestures global object, that will match in number with wl_seats, swipe and pinch interfaces can be obtained from it, which events are translated into GdkEventTouchpadSwipe/Pinch events.

45d15b3 wayland: Implement touchpad gesture events
gdk/wayland/gdkdevice-wayland.c | 245 ++++++++++++++++++++++++++++++++++++++
gdk/wayland/gdkdisplay-wayland.c | 6 +
gdk/wayland/gdkdisplay-wayland.h | 1 +
3 files changed, 252 insertions(+)

Upstream: git.gnome.org


  • Share