mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-22 11:18:28 +00:00
input: update surface input on changeworkspace
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user