diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2019-08-12 10:35:15 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2019-08-12 10:36:08 +1000 |
commit | d5867e5db6300ba2fa08054f16af661bd0ae4200 (patch) | |
tree | 673a2ecf226414c11a81cf8badb35c6aec8f7051 | |
parent | 1ef2ed874e700a6be9091c01df5b432a3e4d8b2e (diff) |
Fix compiler warning about unhandled switch events
This bumps the required libinput version to 1.7 - which has been out for over
two years now. That's conservative enough.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/xf86libinput.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 6e68ea9..1a00292 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ XORG_DEFAULT_OPTIONS # Obtain compiler/linker options from server and required extensions PKG_CHECK_MODULES(XORG, [xorg-server >= 1.10] xproto [inputproto >= 2.2]) -PKG_CHECK_MODULES(LIBINPUT, [libinput >= 1.4.901]) +PKG_CHECK_MODULES(LIBINPUT, [libinput >= 1.7.0]) OLD_LIBS=$LIBS OLD_CFLAGS=$CFLAGS diff --git a/src/xf86libinput.c b/src/xf86libinput.c index 65ce325..ff76895 100644 --- a/src/xf86libinput.c +++ b/src/xf86libinput.c @@ -2339,6 +2339,8 @@ xf86libinput_handle_event(struct libinput_event *event) xf86libinput_handle_tablet_pad_strip(pInfo, libinput_event_get_tablet_pad_event(event)); break; + case LIBINPUT_EVENT_SWITCH_TOGGLE: + break; } out: |