diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-12 13:11:38 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-12 13:11:38 +0100 |
| commit | a68feb5aa09264beee57a88ee85aefb89680db3b (patch) | |
| tree | 526dd7af6c4036364244fd4e097066a99b96ffc0 /src/Compositor.cpp | |
| parent | 293df75b97b6914b07978cead73db4618f1133d1 (diff) | |
internal: guarantee activeWindow event type
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 4210ef3a..294ba78e 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -811,7 +811,7 @@ void CCompositor::focusWindow(CWindow* pWindow, wlr_surface* pSurface) { g_pEventManager->postEvent(SHyprIPCEvent{"activewindow", ","}); g_pEventManager->postEvent(SHyprIPCEvent{"activewindowv2", ","}); - EMIT_HOOK_EVENT("activeWindow", nullptr); + EMIT_HOOK_EVENT("activeWindow", (CWindow*)nullptr); g_pLayoutManager->getCurrentLayout()->onWindowFocusChange(nullptr); |
