aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2019-07-14 06:48:22 +0200
committerSimon Ser <contact@emersion.fr>2019-09-26 19:41:19 +0300
commitebeef0fbe8b15fceb618ee5bc6947d1c3edf950f (patch)
tree6d4cca5608bfeee2914b322b355de4e2f23ceaa5 /include
parent2285e36b0c10db31ecaaf1130c24d3170c54583f (diff)
Clean up wayland backend tablet support
Mostly address feedback from emersion on PR #1694 Remove const qualifier from char *name, to allow free() call
Diffstat (limited to 'include')
-rw-r--r--include/backend/wayland.h4
-rw-r--r--include/wlr/types/wlr_tablet_tool.h2
2 files changed, 5 insertions, 1 deletions
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;