summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2022-11-25 11:34:29 +0000
committervaxerski <vaxry@vaxry.net>2022-11-25 11:34:52 +0000
commit0e6e8461eb0139c2ecd4c66d7995cefe2a7f5195 (patch)
tree36e4cb6a31600e2d7c4847c83f4f21bdbba98fcb /src/managers/KeybindManager.cpp
parent141456dd89b231aa05dfff9c184f103515cca3b4 (diff)
reset m_bEmptyFocusCursorSet on workspace switch
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-rw-r--r--src/managers/KeybindManager.cpp2
1 files changed, 2 insertions, 0 deletions
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);