2015-07-22 10:46:55 -04:00
|
|
|
/*
|
|
|
|
* Wayland Support
|
|
|
|
*
|
|
|
|
* Copyright (C) 2015 Red Hat
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
* Author: Carlos Garnacho <carlosg@gnome.org>
|
|
|
|
*/
|
|
|
|
|
2023-07-21 09:37:20 -04:00
|
|
|
#pragma once
|
2015-07-22 10:46:55 -04:00
|
|
|
|
|
|
|
#include <glib.h>
|
2018-07-10 04:36:24 -04:00
|
|
|
#include <wayland-server.h>
|
2015-07-22 10:46:55 -04:00
|
|
|
|
2018-07-10 04:36:24 -04:00
|
|
|
#include "clutter/clutter.h"
|
|
|
|
#include "wayland/meta-wayland-types.h"
|
2015-07-22 10:46:55 -04:00
|
|
|
|
|
|
|
gboolean meta_wayland_pointer_gesture_pinch_handle_event (MetaWaylandPointer *pointer,
|
|
|
|
const ClutterEvent *event);
|
|
|
|
|
|
|
|
void meta_wayland_pointer_gesture_pinch_create_new_resource (MetaWaylandPointer *pointer,
|
|
|
|
struct wl_client *client,
|
|
|
|
struct wl_resource *gestures_resource,
|
|
|
|
uint32_t id);
|
|
|
|
|
2022-09-23 09:55:27 -04:00
|
|
|
void meta_wayland_pointer_gesture_pinch_cancel (MetaWaylandPointer *pointer,
|
|
|
|
uint32_t serial);
|