summaryrefslogtreecommitdiff
path: root/src/managers/input/Swipe.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-09 19:08:04 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-09 19:08:11 +0200
commitf663fa209ce72571bd4c551a19757ccd58b3fb7f (patch)
treead6e3c2c409df33cb49583f83c7661434dfc78ce /src/managers/input/Swipe.cpp
parent9370c7aa8a0f43b4471626f95013e1bf55539c19 (diff)
minor code styling fixes
Diffstat (limited to 'src/managers/input/Swipe.cpp')
-rw-r--r--src/managers/input/Swipe.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/managers/input/Swipe.cpp b/src/managers/input/Swipe.cpp
index 4468cac8..fe78145d 100644
--- a/src/managers/input/Swipe.cpp
+++ b/src/managers/input/Swipe.cpp
@@ -2,7 +2,6 @@
#include "../../Compositor.hpp"
void CInputManager::onSwipeBegin(wlr_pointer_swipe_begin_event* e) {
-
static auto *const PSWIPE = &g_pConfigManager->getConfigValuePtr("gestures:workspace_swipe")->intValue;
static auto *const PSWIPEFINGERS = &g_pConfigManager->getConfigValuePtr("gestures:workspace_swipe_fingers")->intValue;
@@ -31,7 +30,6 @@ void CInputManager::onSwipeBegin(wlr_pointer_swipe_begin_event* e) {
}
void CInputManager::onSwipeEnd(wlr_pointer_swipe_end_event* e) {
-
if (!m_sActiveSwipe.pWorkspaceBegin)
return; // no valid swipe