aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/tablet_tool.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/libinput/tablet_tool.c b/backend/libinput/tablet_tool.c
index 4e87b700..ff48f6a3 100644
--- a/backend/libinput/tablet_tool.c
+++ b/backend/libinput/tablet_tool.c
@@ -113,6 +113,10 @@ static enum wlr_tablet_tool_type wlr_type_from_libinput_type(
return WLR_TABLET_TOOL_TYPE_MOUSE;
case LIBINPUT_TABLET_TOOL_TYPE_LENS:
return WLR_TABLET_TOOL_TYPE_LENS;
+#if LIBINPUT_MINOR >= 14
+ case LIBINPUT_TABLET_TOOL_TYPE_TOTEM:
+ return WLR_TABLET_TOOL_TYPE_TOTEM;
+#endif
}
assert(false && "UNREACHABLE");