aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/managers/SessionLockManager.cpp
diff options
context:
space:
mode:
authorMaximilian Seidler <[email protected]>2024-10-17 20:05:55 +0000
committerGitHub <[email protected]>2024-10-17 21:05:55 +0100
commit0e630e9e74ad34683194a07cfe6afe55a2c0685f (patch)
tree20d16a66f2d79f98286e8b3335e7df706208b1c4 /src/managers/SessionLockManager.cpp
parent5f30cb7753266316b85a460c6266995678187294 (diff)
downloadHyprland-0e630e9e74ad34683194a07cfe6afe55a2c0685f.tar.gz
Hyprland-0e630e9e74ad34683194a07cfe6afe55a2c0685f.zip
session-lock: reset seat grab on a new session lock (#8147)
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() {