mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
kwin/mobiletaskswitcher: make touchscreen swipe gesture use 3 fingers
A global gesture with one finger doesn't make sense and isn't supported by KWin
This commit is contained in:
parent
a6158d7ba6
commit
5363853f66
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ MobileTaskSwitcherEffect::MobileTaskSwitcherEffect()
|
|||
, m_shutdownTimer{new QTimer{this}}
|
||||
{
|
||||
auto gesture = new EffectTogglableGesture{m_taskSwitcherState};
|
||||
gesture->addTouchscreenSwipeGesture(SwipeDirection::Up, 1);
|
||||
gesture->addTouchscreenSwipeGesture(SwipeDirection::Up, 3);
|
||||
|
||||
connect(m_taskSwitcherState, &EffectTogglableState::inProgressChanged, this, &MobileTaskSwitcherEffect::gestureInProgressChanged);
|
||||
connect(m_taskSwitcherState, &EffectTogglableState::partialActivationFactorChanged, this, &MobileTaskSwitcherEffect::partialActivationFactorChanged);
|
||||
|
|
|
|||
Loading…
Reference in a new issue