mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
wayland/pointer-gestures: Update protocol to v2
Update the pointer gestures protocol to version 2 and implement the new release method. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1830>
This commit is contained in:
parent
d4ba16252b
commit
c545ffac43
@ -54,9 +54,17 @@ gestures_get_pinch (struct wl_client *client,
|
|||||||
meta_wayland_pointer_gesture_pinch_create_new_resource (pointer, client, resource, id);
|
meta_wayland_pointer_gesture_pinch_create_new_resource (pointer, client, resource, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
gestures_release (struct wl_client *client,
|
||||||
|
struct wl_resource *resource)
|
||||||
|
{
|
||||||
|
wl_resource_destroy (resource);
|
||||||
|
}
|
||||||
|
|
||||||
static const struct zwp_pointer_gestures_v1_interface pointer_gestures_interface = {
|
static const struct zwp_pointer_gestures_v1_interface pointer_gestures_interface = {
|
||||||
gestures_get_swipe,
|
gestures_get_swipe,
|
||||||
gestures_get_pinch
|
gestures_get_pinch,
|
||||||
|
gestures_release
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
#define META_XSERVER_VERSION 1
|
#define META_XSERVER_VERSION 1
|
||||||
#define META_GTK_SHELL1_VERSION 5
|
#define META_GTK_SHELL1_VERSION 5
|
||||||
#define META_WL_SUBCOMPOSITOR_VERSION 1
|
#define META_WL_SUBCOMPOSITOR_VERSION 1
|
||||||
#define META_ZWP_POINTER_GESTURES_V1_VERSION 1
|
#define META_ZWP_POINTER_GESTURES_V1_VERSION 2
|
||||||
#define META_ZXDG_EXPORTER_V1_VERSION 1
|
#define META_ZXDG_EXPORTER_V1_VERSION 1
|
||||||
#define META_ZXDG_IMPORTER_V1_VERSION 1
|
#define META_ZXDG_IMPORTER_V1_VERSION 1
|
||||||
#define META_ZWP_LINUX_DMABUF_V1_VERSION 3
|
#define META_ZWP_LINUX_DMABUF_V1_VERSION 3
|
||||||
|
Loading…
Reference in New Issue
Block a user