From 19a168792b6047f98cdcff2bd4de50da7c5e50d4 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 26 May 2022 21:24:52 +0200 Subject: activewindow class and title --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compositor.cpp') 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) { -- cgit v1.2.3