diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-24 22:21:31 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-24 22:21:31 +0200 |
| commit | 0ad33742e14f73bb46acf9bad97fe963d495e025 (patch) | |
| tree | be4ab119adf336379acced540fce25ada0c50222 /src/Compositor.cpp | |
| parent | ad7e66adaabb14b3c9e5287c95bcff6cbc1472a1 (diff) | |
fix workspace event and add activewindow and activemon
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index c8376c29..868f15e0 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -453,6 +453,9 @@ void CCompositor::focusWindow(CWindow* pWindow, wlr_surface* pSurface) { pWindow->m_cRealBorderColor = RENDERDATA.borderColor; else pWindow->m_cRealBorderColor = CColor(g_pConfigManager->getInt("general:col.active_border")); + + // Send an event + g_pEventManager->postEvent(SHyprIPCEvent("activewindow", pWindow->m_szTitle)); } void CCompositor::focusSurface(wlr_surface* pSurface, CWindow* pWindowOwner) { |
