Commit 11e6c106 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Undo pointer-gestures v2 changes

The release request was introduced in v2, which we currently don't support.
parent da69181f
......@@ -30,7 +30,6 @@ private:
static void getSwipeGestureCallback(wl_client *client, wl_resource *resource, uint32_t id, wl_resource * pointer);
static void getPinchGestureCallback(wl_client *client, wl_resource *resource, uint32_t id, wl_resource * pointer);
static void releaseCallback(wl_client *client, wl_resource *resource);
PointerGesturesUnstableV1Interface *q;
static const struct zwp_pointer_gestures_v1_interface s_interface;
......@@ -42,8 +41,7 @@ const quint32 PointerGesturesUnstableV1Interface::Private::s_version = 1;
#ifndef K_DOXYGEN
const struct zwp_pointer_gestures_v1_interface PointerGesturesUnstableV1Interface::Private::s_interface = {
getSwipeGestureCallback,
getPinchGestureCallback,
releaseCallback
getPinchGestureCallback
};
#endif
......@@ -73,12 +71,6 @@ void PointerGesturesUnstableV1Interface::Private::getPinchGestureCallback(wl_cli
p->d_func()->registerPinchGesture(g);
}
void PointerGesturesUnstableV1Interface::Private::releaseCallback(wl_client *client, wl_resource *resource)
{
Q_UNUSED(client)
wl_resource_destroy(resource);
}
PointerGesturesUnstableV1Interface::Private::Private(PointerGesturesUnstableV1Interface *q, Display *d)
: PointerGesturesInterface::Private(PointerGesturesInterfaceVersion::UnstableV1, q, d, &zwp_pointer_gestures_v1_interface, s_version)
, q(q)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment