wayland: Implement the wl_pointer_gesture_pinch interface

The pinch gesture resources are part of the MetaWaylandPointerClient, which
will be used during the propagation of CLUTTER_TOUCHPAD_PINCH events.
This commit is contained in:
Carlos Garnacho
2015-07-22 16:46:55 +02:00
parent 51a2f28723
commit 2fafa24305
6 changed files with 216 additions and 1 deletions

View File

@ -26,6 +26,7 @@
#include "meta-wayland-types.h"
#include "meta-wayland-pointer-gesture-swipe.h"
#include "meta-wayland-pointer-gesture-pinch.h"
#include <meta/meta-cursor-tracker.h>
@ -49,6 +50,7 @@ struct _MetaWaylandPointerClient
{
struct wl_list pointer_resources;
struct wl_list swipe_gesture_resources;
struct wl_list pinch_gesture_resources;
};
struct _MetaWaylandPointer