backend/libinput: require libinput 1.14

We have the policy of requiring up-to-date dependencies instead of
adding conditionals for older versions. libinput 1.14 was published more
than 1 year ago.
This commit is contained in:
Simon Ser 2020-11-15 18:57:16 +01:00
parent 2eae9ec7c8
commit aaa3fcf66f
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 1 additions and 10 deletions

View file

@ -113,10 +113,8 @@ 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
}
abort(); // unreachable
}