Fix build when libwacom is disabled
Fixes: da828c2fc
("x11/input-device: Stop using deprecated libwacom API")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3996>
This commit is contained in:
parent
be8e1ee96a
commit
148ab84b83
1 changed files with 2 additions and 0 deletions
|
@ -195,6 +195,7 @@ meta_input_device_x11_get_property (GObject *object,
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBWACOM
|
||||
#ifndef HAVE_LIBWACOM_GET_NUM_RINGS
|
||||
static int
|
||||
libwacom_get_num_rings (WacomDevice *device)
|
||||
|
@ -208,6 +209,7 @@ libwacom_get_num_rings (WacomDevice *device)
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static int
|
||||
meta_input_device_x11_get_group_n_modes (ClutterInputDevice *device,
|
||||
|
|
Loading…
Add table
Reference in a new issue