summaryrefslogtreecommitdiff
path: root/src/wayland/meta-wayland-touch.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2019-10-04 14:01:19 +0200
committerCarlos Garnacho <carlosg@gnome.org>2020-01-30 18:02:34 +0100
commit6dfd2ffcefb39d509bbd8712b0a0bff602a1c6e5 (patch)
treee18a472356b72e410ff6cca8aa22d161d17d0c8b /src/wayland/meta-wayland-touch.c
parent835f12043e45cc469756c4423f6a0c9adfc6d2a1 (diff)
downloadmutter-6dfd2ffcefb39d509bbd8712b0a0bff602a1c6e5.tar.gz
wayland: Replace ClutterDeviceManager usage in favor of ClutterSeat
https://gitlab.gnome.org/GNOME/mutter/merge_requests/852
Diffstat (limited to 'src/wayland/meta-wayland-touch.c')
-rw-r--r--src/wayland/meta-wayland-touch.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wayland/meta-wayland-touch.c b/src/wayland/meta-wayland-touch.c
index 9f7f9f7e0..9c2cfc9df 100644
--- a/src/wayland/meta-wayland-touch.c
+++ b/src/wayland/meta-wayland-touch.c
@@ -32,7 +32,6 @@
#ifdef HAVE_NATIVE_BACKEND
#include <libinput.h>
#include "backends/native/meta-backend-native.h"
-#include "backends/native/meta-device-manager-native.h"
#include "backends/native/meta-event-native.h"
#include "backends/native/meta-seat-native.h"
#endif
@@ -554,8 +553,6 @@ evdev_filter_func (struct libinput_event *event,
void
meta_wayland_touch_enable (MetaWaylandTouch *touch)
{
- ClutterDeviceManager *manager;
-
#ifdef HAVE_NATIVE_BACKEND
touch->touch_surfaces = g_hash_table_new_full (NULL, NULL, NULL,
(GDestroyNotify) touch_surface_free);
@@ -565,9 +562,6 @@ meta_wayland_touch_enable (MetaWaylandTouch *touch)
wl_list_init (&touch->resource_list);
- manager = clutter_device_manager_get_default ();
- touch->device = clutter_device_manager_get_core_device (manager, CLUTTER_TOUCHSCREEN_DEVICE);
-
#ifdef HAVE_NATIVE_BACKEND
MetaBackend *backend = meta_get_backend ();
if (META_IS_BACKEND_NATIVE (backend))