wayland: Implement touchpad gesture events

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.
This commit is contained in:
Carlos Garnacho
2015-07-09 19:36:30 +02:00
parent b037d4d628
commit 45d15b302e
3 changed files with 252 additions and 0 deletions

View File

@ -71,6 +71,7 @@ struct _GdkWaylandDisplay
struct wl_input_device *input_device;
struct wl_data_device_manager *data_device_manager;
struct wl_subcompositor *subcompositor;
struct _wl_pointer_gestures *pointer_gestures;
GList *async_roundtrips;