summaryrefslogtreecommitdiff
path: root/src/managers/input/Swipe.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-22 00:08:25 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-22 00:08:25 +0200
commit4db1062af68eaf233580dfc5fa0e237e31c4dfc3 (patch)
treede890ccbfeb2e4a570f8ccc50b6882d151725df9 /src/managers/input/Swipe.cpp
parent0013ef9ef09794d351bd67170dfc720d3070bce3 (diff)
minor changes to swipes
Diffstat (limited to 'src/managers/input/Swipe.cpp')
-rw-r--r--src/managers/input/Swipe.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/managers/input/Swipe.cpp b/src/managers/input/Swipe.cpp
index 74783f42..90eef672 100644
--- a/src/managers/input/Swipe.cpp
+++ b/src/managers/input/Swipe.cpp
@@ -122,8 +122,6 @@ void CInputManager::onSwipeUpdate(wlr_pointer_swipe_update_event* e) {
if (workspaceIDLeft != workspaceIDRight) {
const auto PWORKSPACER = g_pCompositor->getWorkspaceByID(workspaceIDRight);
-
- PWORKSPACER->m_bForceRendering = false;
}
PWORKSPACE->m_vRenderOffset.setValueAndWarp(Vector2D(((- m_sActiveSwipe.delta) / *PSWIPEDIST) * m_sActiveSwipe.pMonitor->vecSize.x - m_sActiveSwipe.pMonitor->vecSize.x, 0));
@@ -142,8 +140,6 @@ void CInputManager::onSwipeUpdate(wlr_pointer_swipe_update_event* e) {
if (workspaceIDLeft != workspaceIDRight) {
const auto PWORKSPACEL = g_pCompositor->getWorkspaceByID(workspaceIDLeft);
-
- PWORKSPACEL->m_bForceRendering = false;
}
PWORKSPACE->m_vRenderOffset.setValueAndWarp(Vector2D(((- m_sActiveSwipe.delta) / *PSWIPEDIST) * m_sActiveSwipe.pMonitor->vecSize.x + m_sActiveSwipe.pMonitor->vecSize.x, 0));