Commit 137b954a authored by Martin Flöser's avatar Martin Flöser
Browse files

Remove remaining HAVE_INPUT ifdef sections

Somehow they sneaked in between creating the patch for making libinput
mandatory and pushing the patch.
parent ded72255
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment