Remove remaining HAVE_INPUT ifdef sections

Somehow they sneaked in between creating the patch for making libinput
mandatory and pushing the patch.
This commit is contained in:
Martin Flöser 2018-02-10 20:36:43 +01:00
parent ded7225572
commit 137b954add
2 changed files with 0 additions and 4 deletions

View file

@ -1873,11 +1873,9 @@ bool InputRedirection::hasAlphaNumericKeyboard()
bool InputRedirection::hasTabletModeSwitch()
{
#if HAVE_INPUT
if (m_libInput) {
return m_libInput->hasTabletModeSwitch();
}
#endif
return false;
}

View file

@ -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: