mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-11 02:01:53 -07:00
fix ipc event missing on silent movetoworkspace
This commit is contained in:
@@ -948,6 +948,9 @@ void CKeybindManager::moveActiveToWorkspaceSilent(std::string args) {
|
|||||||
|
|
||||||
g_pEventManager->m_bIgnoreEvents = false;
|
g_pEventManager->m_bIgnoreEvents = false;
|
||||||
|
|
||||||
|
// manually post event cuz it got ignored above
|
||||||
|
g_pEventManager->postEvent(SHyprIPCEvent{"movewindow", getFormat("%x,%s", PWINDOW, PWORKSPACE->m_szName.c_str())});
|
||||||
|
|
||||||
g_pInputManager->refocus();
|
g_pInputManager->refocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user