kathenas / rpms / mutter

Forked from rpms/mutter 5 years ago
Clone

Blame SOURCES/0001-backends-Consider-pen-eraser-devices-when-looking-fo.patch

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