diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-26 21:34:52 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-26 21:34:52 +0200 |
| commit | 8145c552de762bbdb8ddd63b386f4b5a0709bd6c (patch) | |
| tree | 6a3be2e4138506a99b5a01ab762cab0840528a61 /src/managers/KeybindManager.cpp | |
| parent | 19a168792b6047f98cdcff2bd4de50da7c5e50d4 (diff) | |
post empty activewindow event on unfocus
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 10d47849..7b7d488c 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -133,6 +133,7 @@ void CKeybindManager::killActive(std::string args) { g_pXWaylandManager->sendCloseWindow(g_pCompositor->m_pLastWindow); g_pCompositor->m_pLastFocus = nullptr; g_pCompositor->m_pLastWindow = nullptr; + g_pEventManager->postEvent(SHyprIPCEvent("activewindow", ",")); // post an activewindow event to empty, as we are currently unfocused } g_pCompositor->focusWindow(g_pCompositor->windowFromCursor()); |
