From 94f65e354d09ded037e6ba724dc3eeed6d63778f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 9 Aug 2019 10:18:54 +0900 Subject: Add libinput-1.14 support This libinput version adds a new tablet tool type. --- backend/libinput/tablet_tool.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend') 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"); -- cgit v1.2.3