summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-11 14:13:15 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-11 14:13:15 +0200
commit2936368e8070fc53dd4095a786be4d92d20c4158 (patch)
treeeda9785297ecd2d26993b6698f8f769cb9a95c37 /src/Compositor.cpp
parent5eaf93697ad2ee1c594373f68d76f7620eb46712 (diff)
minor event fixes
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 63ef22b6..076c8095 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -614,6 +614,7 @@ void CCompositor::focusSurface(wlr_surface* pSurface, CWindow* pWindowOwner) {
if (!pSurface) {
wlr_seat_keyboard_clear_focus(m_sSeat.seat);
+ g_pEventManager->postEvent(SHyprIPCEvent("activewindow", ",")); // unfocused
return;
}