unify LS unmap focus

This commit is contained in:
vaxerski
2022-10-25 14:19:24 +01:00
parent 34bd2cf803
commit ba9a8a9ded
3 changed files with 26 additions and 4 deletions

View File

@@ -311,7 +311,6 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
} else {
if (pFoundLayerSurface && pFoundLayerSurface->layerSurface->current.keyboard_interactive && *PFOLLOWMOUSE != 3 && allowKeyboardRefocus) {
g_pCompositor->focusSurface(foundSurface);
g_pCompositor->m_pLastWindow = nullptr; // reset last window as we have a full focus on a LS
}
if (pFoundLayerSurface)