summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-26 21:24:52 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-26 21:24:52 +0200
commit19a168792b6047f98cdcff2bd4de50da7c5e50d4 (patch)
treec9f084b278b7bf84aa84a3d005af5a79e6316485 /src/Compositor.cpp
parent8a3ea54184d123cec969e2e77c5bf87ec36befd3 (diff)
activewindow class and title
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 40741d22..495badf9 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -450,7 +450,7 @@ void CCompositor::focusWindow(CWindow* pWindow, wlr_surface* pSurface) {
updateWindowBorderColor(pWindow);
// Send an event
- g_pEventManager->postEvent(SHyprIPCEvent("activewindow", pWindow->m_szTitle));
+ g_pEventManager->postEvent(SHyprIPCEvent("activewindow", g_pXWaylandManager->getAppIDClass(pWindow) + "," + pWindow->m_szTitle));
}
void CCompositor::focusSurface(wlr_surface* pSurface, CWindow* pWindowOwner) {