mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 21:27:20 +03:00
keybinds: simulate movement on empty focus after workspace change
This commit is contained in:
parent
b884544ee6
commit
41e5f401c5
@ -870,7 +870,10 @@ void CKeybindManager::changeworkspace(std::string args) {
|
|||||||
} else
|
} else
|
||||||
pWorkspaceToChangeTo->rememberPrevWorkspace(PCURRENTWORKSPACE);
|
pWorkspaceToChangeTo->rememberPrevWorkspace(PCURRENTWORKSPACE);
|
||||||
|
|
||||||
g_pInputManager->sendMotionEventsToFocused();
|
if (!g_pCompositor->m_pLastFocus)
|
||||||
|
g_pInputManager->simulateMouseMovement();
|
||||||
|
else
|
||||||
|
g_pInputManager->sendMotionEventsToFocused();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CKeybindManager::fullscreenActive(std::string args) {
|
void CKeybindManager::fullscreenActive(std::string args) {
|
||||||
|
Loading…
Reference in New Issue
Block a user