mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-18 22:49:48 +01:00
session-lock: reset seat grab on a new session lock (#8147)
This commit is contained in:
parent
5f30cb7753
commit
0e630e9e74
1 changed files with 2 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue