Remove remaining HAVE_INPUT ifdef sections

Somehow they sneaked in between creating the patch for making libinput
mandatory and pushing the patch.
master
Martin Flöser 7 years ago
parent ded7225572
commit 137b954add

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

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

Loading…
Cancel
Save