diff --git a/backend/libinput/events.c b/backend/libinput/events.c index 1d0232293..91511f474 100644 --- a/backend/libinput/events.c +++ b/backend/libinput/events.c @@ -48,7 +48,7 @@ bool wlr_input_device_is_libinput(struct wlr_input_device *wlr_dev) { return wlr_touch_from_input_device(wlr_dev)->impl == &libinput_touch_impl; case WLR_INPUT_DEVICE_TABLET: - return wlr_tablet_from_input_device(wlr_dev)-> impl == + return wlr_tablet_from_input_device(wlr_dev)->impl == &libinput_tablet_impl; case WLR_INPUT_DEVICE_TABLET_PAD: return wlr_tablet_pad_from_input_device(wlr_dev)->impl ==