diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-09-29 19:33:43 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-09-29 19:33:43 +0100 |
| commit | bdd9680adf6c764ace88ccc6102e9b6f682c2b4b (patch) | |
| tree | 1aad1849336d74b4ca957d269a05d48e9857e52f /src/managers/KeybindManager.cpp | |
| parent | ff4c22ca905441c1f1b916c22057bc0fbd003990 (diff) | |
fix ipc event missing on silent movetoworkspace
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 50a12a80..ae0dff0f 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -948,6 +948,9 @@ void CKeybindManager::moveActiveToWorkspaceSilent(std::string args) { 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(); } |
