mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-08 06:25:59 +01:00
input: update surface input on changeworkspace
This commit is contained in:
parent
d123835ef5
commit
cf37922d42
1 changed files with 3 additions and 0 deletions
|
@ -816,6 +816,7 @@ void CKeybindManager::changeworkspace(std::string args) {
|
||||||
|
|
||||||
if (pWorkspaceToChangeTo->m_bIsSpecialWorkspace) {
|
if (pWorkspaceToChangeTo->m_bIsSpecialWorkspace) {
|
||||||
PMONITOR->setSpecialWorkspace(pWorkspaceToChangeTo);
|
PMONITOR->setSpecialWorkspace(pWorkspaceToChangeTo);
|
||||||
|
g_pInputManager->simulateMouseMovement();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -839,6 +840,8 @@ void CKeybindManager::changeworkspace(std::string args) {
|
||||||
}
|
}
|
||||||
|
|
||||||
pWorkspaceToChangeTo->m_sPrevWorkspace = {PCURRENTWORKSPACE->m_iID, PCURRENTWORKSPACE->m_szName};
|
pWorkspaceToChangeTo->m_sPrevWorkspace = {PCURRENTWORKSPACE->m_iID, PCURRENTWORKSPACE->m_szName};
|
||||||
|
|
||||||
|
g_pInputManager->simulateMouseMovement();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CKeybindManager::fullscreenActive(std::string args) {
|
void CKeybindManager::fullscreenActive(std::string args) {
|
||||||
|
|
Loading…
Reference in a new issue