diff options
author | Maximilian Seidler <[email protected]> | 2024-10-17 20:05:55 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-17 21:05:55 +0100 |
commit | 0e630e9e74ad34683194a07cfe6afe55a2c0685f (patch) | |
tree | 20d16a66f2d79f98286e8b3335e7df706208b1c4 | |
parent | 5f30cb7753266316b85a460c6266995678187294 (diff) | |
download | Hyprland-0e630e9e74ad34683194a07cfe6afe55a2c0685f.tar.gz Hyprland-0e630e9e74ad34683194a07cfe6afe55a2c0685f.zip |
session-lock: reset seat grab on a new session lock (#8147)
-rw-r--r-- | src/managers/SessionLockManager.cpp | 2 |
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() { |