aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/interfaces/wlr_tablet_tool.h2
-rw-r--r--include/wlr/types/wlr_tablet_tool.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/interfaces/wlr_tablet_tool.h b/include/wlr/interfaces/wlr_tablet_tool.h
index 9cfc3ca0..81e72d75 100644
--- a/include/wlr/interfaces/wlr_tablet_tool.h
+++ b/include/wlr/interfaces/wlr_tablet_tool.h
@@ -16,7 +16,7 @@ struct wlr_tablet_impl {
};
void wlr_tablet_init(struct wlr_tablet *tablet,
- struct wlr_tablet_impl *impl);
+ const struct wlr_tablet_impl *impl);
void wlr_tablet_destroy(struct wlr_tablet *tablet);
#endif
diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h
index 4dbac4d0..9dbf6ffb 100644
--- a/include/wlr/types/wlr_tablet_tool.h
+++ b/include/wlr/types/wlr_tablet_tool.h
@@ -61,7 +61,7 @@ struct wlr_tablet_tool {
struct wlr_tablet_impl;
struct wlr_tablet {
- struct wlr_tablet_impl *impl;
+ const struct wlr_tablet_impl *impl;
struct {
struct wl_signal axis;