From 137b954add81f82b89b7b88dbb742062eeb753d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Sat, 10 Feb 2018 20:36:43 +0100 Subject: [PATCH] Remove remaining HAVE_INPUT ifdef sections Somehow they sneaked in between creating the patch for making libinput mandatory and pushing the patch. --- input.cpp | 2 -- tabletmodemanager.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/input.cpp b/input.cpp index 7eaa967890..cd6d841f3e 100644 --- a/input.cpp +++ b/input.cpp @@ -1873,11 +1873,9 @@ bool InputRedirection::hasAlphaNumericKeyboard() bool InputRedirection::hasTabletModeSwitch() { -#if HAVE_INPUT if (m_libInput) { return m_libInput->hasTabletModeSwitch(); } -#endif return false; } diff --git a/tabletmodemanager.cpp b/tabletmodemanager.cpp index e9ad46c5af..9776706093 100644 --- a/tabletmodemanager.cpp +++ b/tabletmodemanager.cpp @@ -49,11 +49,9 @@ TabletModeInputEventSpy::TabletModeInputEventSpy(TabletModeManager *parent) void TabletModeInputEventSpy::switchEvent(SwitchEvent *event) { -#if HAVE_INPUT if (!event->device()->isTabletModeSwitch()) { return; } -#endif switch (event->state()) { case SwitchEvent::State::Off: