wayland: Implement the wl_pointer_gesture_swipe interface

The swipe gesture resources are part of the MetaWaylandPointerClient, which
will be used during the emission of CLUTTER_TOUCHPAD_SWIPE events.
This commit is contained in:
Carlos Garnacho
2015-07-22 16:43:25 +02:00
parent e11feb229b
commit 51a2f28723
6 changed files with 212 additions and 1 deletions

View File

@ -25,6 +25,7 @@
#include <glib.h>
#include "meta-wayland-types.h"
#include "meta-wayland-pointer-gesture-swipe.h"
#include <meta/meta-cursor-tracker.h>
@ -47,6 +48,7 @@ struct _MetaWaylandPointerGrab
struct _MetaWaylandPointerClient
{
struct wl_list pointer_resources;
struct wl_list swipe_gesture_resources;
};
struct _MetaWaylandPointer