clutter: Add vmethod to find out group for pad features

Do it so the wayland bits don't have to access native input devices
internals. The data is still readonly, idempotent, etc.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403>
This commit is contained in:
Carlos Garnacho
2020-11-19 18:51:58 +01:00
committed by Marge Bot
parent 18fdcfc95a
commit f117a157dc
7 changed files with 178 additions and 88 deletions

View File

@ -71,6 +71,7 @@ struct _MetaInputDeviceNative
struct libinput_device *libinput_device;
MetaSeatImpl *seat_impl;
ClutterInputDeviceTool *last_tool;
GArray *pad_features;
cairo_matrix_t device_matrix;
double device_aspect_ratio; /* w:h */