From 0e6e8461eb0139c2ecd4c66d7995cefe2a7f5195 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Fri, 25 Nov 2022 11:34:29 +0000 Subject: reset m_bEmptyFocusCursorSet on workspace switch --- src/managers/KeybindManager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/managers/KeybindManager.cpp') diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 5ac399c7..f6e91309 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -707,6 +707,8 @@ void CKeybindManager::changeworkspace(std::string args) { // remove constraints g_pInputManager->unconstrainMouse(); + g_pInputManager->m_bEmptyFocusCursorSet = false; + // if it's not internal, we will unfocus to prevent stuck focus if (!internal) g_pCompositor->focusWindow(nullptr); -- cgit v1.2.3