mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-20 18:28:24 +00:00
reset m_bEmptyFocusCursorSet on workspace switch
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user