clear focus on failed unlock attempt

This commit is contained in:
vaxerski 2023-02-03 17:06:07 +00:00
parent fd3a1cd086
commit d81f45e54a

View file

@ -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());
},