fix ipc event missing on silent movetoworkspace

This commit is contained in:
vaxerski 2022-09-29 19:33:43 +01:00
parent ff4c22ca90
commit bdd9680adf

View file

@ -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();
} }