mirror of
https://github.com/brl/mutter.git
synced 2025-02-19 22:54:08 +00:00
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
This commit is contained in:
parent
c131a9b7fa
commit
855c402e77
@ -1661,6 +1661,8 @@ check_add_mappable_device (MetaInputSettings *input_settings,
|
|||||||
|
|
||||||
#ifdef HAVE_LIBWACOM
|
#ifdef HAVE_LIBWACOM
|
||||||
if (device_type == CLUTTER_TABLET_DEVICE ||
|
if (device_type == CLUTTER_TABLET_DEVICE ||
|
||||||
|
device_type == CLUTTER_PEN_DEVICE ||
|
||||||
|
device_type == CLUTTER_ERASER_DEVICE ||
|
||||||
device_type == CLUTTER_PAD_DEVICE)
|
device_type == CLUTTER_PAD_DEVICE)
|
||||||
{
|
{
|
||||||
WacomError *error = libwacom_error_new ();
|
WacomError *error = libwacom_error_new ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user