Add zwp-tablet-unstable-v2 client support

This allows wlroots based compositors to properly use graphic tablets
with the wayland backend.
This should be a decent quality of life improvement when working on
tablet related features.
This commit is contained in:
Markus Ongyerth 2019-05-10 08:36:19 +02:00 committed by Simon Ser
parent 57babd2e13
commit 2285e36b0c
6 changed files with 960 additions and 1 deletions

View file

@ -303,7 +303,7 @@ bool wlr_input_device_is_wl(struct wlr_input_device *dev) {
return dev->impl == &input_device_impl;
}
static struct wlr_wl_input_device *create_wl_input_device(
struct wlr_wl_input_device *create_wl_input_device(
struct wlr_wl_backend *backend, enum wlr_input_device_type type) {
struct wlr_wl_input_device *dev =
calloc(1, sizeof(struct wlr_wl_input_device));