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:
parent
ded7225572
commit
137b954add
2 changed files with 0 additions and 4 deletions
|
@ -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…
Reference in a new issue