aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/libinput.h1
-rw-r--r--include/wlr/interfaces/wlr_tablet_tool.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h
index faf48591..7c1dc30a 100644
--- a/include/backend/libinput.h
+++ b/include/backend/libinput.h
@@ -108,6 +108,7 @@ void handle_touch_frame(struct libinput_event *event,
struct wlr_touch *touch);
void init_device_tablet(struct wlr_libinput_input_device *dev);
+void finish_device_tablet(struct wlr_libinput_input_device *dev);
struct wlr_libinput_input_device *device_from_tablet(
struct wlr_tablet *tablet);
void handle_tablet_tool_axis(struct libinput_event *event,
diff --git a/include/wlr/interfaces/wlr_tablet_tool.h b/include/wlr/interfaces/wlr_tablet_tool.h
index de7430a2..68bf8cf7 100644
--- a/include/wlr/interfaces/wlr_tablet_tool.h
+++ b/include/wlr/interfaces/wlr_tablet_tool.h
@@ -12,11 +12,11 @@
#include <wlr/types/wlr_tablet_tool.h>
struct wlr_tablet_impl {
- void (*destroy)(struct wlr_tablet *tablet);
+ const char *name;
};
void wlr_tablet_init(struct wlr_tablet *tablet,
const struct wlr_tablet_impl *impl, const char *name);
-void wlr_tablet_destroy(struct wlr_tablet *tablet);
+void wlr_tablet_finish(struct wlr_tablet *tablet);
#endif