mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:25:58 +01:00
clear focus on failed unlock attempt
This commit is contained in:
parent
fd3a1cd086
commit
d81f45e54a
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ void CSessionLockManager::onNewSessionLock(wlr_session_lock_v1* pWlrLock) {
|
|||
|
||||
g_pInputManager->refocus();
|
||||
|
||||
g_pCompositor->focusSurface(nullptr);
|
||||
|
||||
for (auto& m : g_pCompositor->m_vMonitors)
|
||||
g_pHyprRenderer->damageMonitor(m.get());
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue