From 855c402e77a6cf1dbeb06499af1d6bd1a45a6415 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 13 Dec 2019 17:01:44 +0100 Subject: [PATCH] backends: Consider pen/eraser devices when looking for matching WacomDevice Those device types are still in use through the X11 backend, breaking some checks around on that backend... https://gitlab.gnome.org/GNOME/mutter/merge_requests/972 --- src/backends/meta-input-settings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backends/meta-input-settings.c b/src/backends/meta-input-settings.c index 3bee36d41..a4f54a03e 100644 --- a/src/backends/meta-input-settings.c +++ b/src/backends/meta-input-settings.c @@ -1661,6 +1661,8 @@ check_add_mappable_device (MetaInputSettings *input_settings, #ifdef HAVE_LIBWACOM if (device_type == CLUTTER_TABLET_DEVICE || + device_type == CLUTTER_PEN_DEVICE || + device_type == CLUTTER_ERASER_DEVICE || device_type == CLUTTER_PAD_DEVICE) { WacomError *error = libwacom_error_new ();