aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/libinput/events.c')
-rw-r--r--backend/libinput/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/libinput/events.c b/backend/libinput/events.c
index 93664af2..0548e502 100644
--- a/backend/libinput/events.c
+++ b/backend/libinput/events.c
@@ -130,8 +130,8 @@ static void handle_device_added(struct wlr_libinput_backend *backend,
if (!wlr_dev) {
goto fail;
}
- wlr_dev->tablet_tool = create_libinput_tablet_tool(libinput_dev);
- if (!wlr_dev->tablet_tool) {
+ wlr_dev->tablet = create_libinput_tablet(libinput_dev);
+ if (!wlr_dev->tablet) {
free(wlr_dev);
goto fail;
}