From 63c7f523b02b16b3dc086bffe31ce5adc3e59545 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Wed, 30 Mar 2022 15:31:21 +0200 Subject: [PATCH] overview: register touchscreen gestures This was meant to be done in 8914a6c50e1d1fba919b436eb42471421362d838, a mistake must've sneaked in while rebasing --- src/effects/overview/overvieweffect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/effects/overview/overvieweffect.cpp b/src/effects/overview/overvieweffect.cpp index c530cf44e8..a01c17c650 100644 --- a/src/effects/overview/overvieweffect.cpp +++ b/src/effects/overview/overvieweffect.cpp @@ -40,8 +40,8 @@ OverviewEffect::OverviewEffect() m_toggleShortcut = KGlobalAccel::self()->shortcut(m_toggleAction); effects->registerGlobalShortcut({defaultToggleShortcut}, m_toggleAction); effects->registerTouchpadSwipeShortcut(SwipeDirection::Up, 4, m_toggleAction); - effects->registerTouchpadSwipeShortcut(SwipeDirection::Up, 3, m_toggleAction); - effects->registerTouchpadSwipeShortcut(SwipeDirection::Down, 3, m_toggleAction); + effects->registerTouchscreenSwipeShortcut(SwipeDirection::Up, 3, m_toggleAction); + effects->registerTouchscreenSwipeShortcut(SwipeDirection::Down, 3, m_toggleAction); connect(effects, &EffectsHandler::screenAboutToLock, this, &OverviewEffect::realDeactivate);