summaryrefslogtreecommitdiff
path: root/src/events/Windows.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-05-01 13:57:27 +0100
committerVaxry <vaxry@vaxry.net>2024-05-01 13:57:32 +0100
commit4ed6b69b68a544a81cec583a1ad8aff218f7db5d (patch)
treeef06fa787edc3a6edd9b2d340edce9657b548387 /src/events/Windows.cpp
parentd2899a6c272d4619295543b5b4c77b40fa1934bf (diff)
socket2: fix empty activewindowv2 events
fixes #5827
Diffstat (limited to 'src/events/Windows.cpp')
-rw-r--r--src/events/Windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp
index eb8514b4..b408a8b0 100644
--- a/src/events/Windows.cpp
+++ b/src/events/Windows.cpp
@@ -772,7 +772,7 @@ void Events::listener_unmapWindow(void* owner, void* data) {
// CWindow::onUnmap will remove this window's active status, but we can't really do it above.
if (PWINDOW == g_pCompositor->m_pLastWindow.lock() || !g_pCompositor->m_pLastWindow.lock()) {
g_pEventManager->postEvent(SHyprIPCEvent{"activewindow", ","});
- g_pEventManager->postEvent(SHyprIPCEvent{"activewindowv2", ","});
+ g_pEventManager->postEvent(SHyprIPCEvent{"activewindowv2", ""});
EMIT_HOOK_EVENT("activeWindow", (PHLWINDOW) nullptr);
}
} else {