From ba9a8a9ded02b5af182b0dfcb46da1769060fbba Mon Sep 17 00:00:00 2001 From: vaxerski Date: Tue, 25 Oct 2022 14:19:24 +0100 Subject: unify LS unmap focus --- src/managers/input/InputManager.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/managers/input/InputManager.cpp') diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 64963041..d76810e3 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -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) -- cgit v1.2.3