Commit 63c7f523 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

overview: register touchscreen gestures

This was meant to be done in 8914a6c5,
a mistake must've sneaked in while rebasing
parent c16a8e09
Pipeline #157081 passed with stage
in 14 minutes
......@@ -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);
......
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