aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/managers/SessionLockManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/SessionLockManager.cpp')
-rw-r--r--src/managers/SessionLockManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/SessionLockManager.cpp b/src/managers/SessionLockManager.cpp
index 260a3992..4e05695a 100644
--- a/src/managers/SessionLockManager.cpp
+++ b/src/managers/SessionLockManager.cpp
@@ -3,6 +3,7 @@
#include "../config/ConfigValue.hpp"
#include "../protocols/FractionalScale.hpp"
#include "../protocols/SessionLock.hpp"
+#include "../managers/SeatManager.hpp"
#include <algorithm>
#include <ranges>
@@ -84,6 +85,7 @@ void CSessionLockManager::onNewSessionLock(SP<CSessionLock> pLock) {
});
g_pCompositor->focusSurface(nullptr);
+ g_pSeatManager->setGrab(nullptr);
}
bool CSessionLockManager::isSessionLocked() {