From ebeef0fbe8b15fceb618ee5bc6947d1c3edf950f Mon Sep 17 00:00:00 2001 From: Markus Ongyerth Date: Sun, 14 Jul 2019 06:48:22 +0200 Subject: Clean up wayland backend tablet support Mostly address feedback from emersion on PR #1694 Remove const qualifier from char *name, to allow free() call --- include/backend/wayland.h | 4 ++++ include/wlr/types/wlr_tablet_tool.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/backend/wayland.h b/include/backend/wayland.h index f46e6c75..a237ced7 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -98,4 +98,8 @@ struct wlr_wl_input_device *create_wl_input_device( extern const struct wl_seat_listener seat_listener; +struct wlr_wl_tablet_seat *wl_add_tablet_seat( + struct zwp_tablet_manager_v2 *manager, + struct wl_seat *seat, struct wlr_wl_backend *backend); + #endif diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h index bd797915..805727d4 100644 --- a/include/wlr/types/wlr_tablet_tool.h +++ b/include/wlr/types/wlr_tablet_tool.h @@ -70,7 +70,7 @@ struct wlr_tablet { struct wl_signal button; } events; - const char *name; + char *name; struct wlr_list paths; // char * void *data; -- cgit v1.2.3