activewindow class and title

This commit is contained in:
vaxerski
2022-05-26 21:24:52 +02:00
parent 8a3ea54184
commit 19a168792b
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {