summaryrefslogtreecommitdiff
path: root/src/managers/input/Swipe.cpp
diff options
context:
space:
mode:
authormemchr <118117622+memchr@users.noreply.github.com>2023-09-11 22:39:24 +0000
committerGitHub <noreply@github.com>2023-09-11 23:39:24 +0100
commitbc41d7ec8515723d79cc921454a739d65db69467 (patch)
treee5b69d17a2ce8f52faae1dafc4817d3e85a3ca53 /src/managers/input/Swipe.cpp
parentdf51c45d7f9e4e280b959f790f7cde6c88b9b451 (diff)
fix: inconsistent behaviour where last workspace was not saved (#3261)
Diffstat (limited to 'src/managers/input/Swipe.cpp')
-rw-r--r--src/managers/input/Swipe.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/input/Swipe.cpp b/src/managers/input/Swipe.cpp
index c1aa42f3..ebed67cd 100644
--- a/src/managers/input/Swipe.cpp
+++ b/src/managers/input/Swipe.cpp
@@ -165,6 +165,7 @@ void CInputManager::onSwipeEnd(wlr_pointer_swipe_end_event* e) {
pSwitchedTo = PWORKSPACER;
}
+ m_sActiveSwipe.pWorkspaceBegin->rememberPrevWorkspace(pSwitchedTo);
g_pHyprRenderer->damageMonitor(m_sActiveSwipe.pMonitor);