diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-26 21:24:52 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-26 21:24:52 +0200 |
| commit | 19a168792b6047f98cdcff2bd4de50da7c5e50d4 (patch) | |
| tree | c9f084b278b7bf84aa84a3d005af5a79e6316485 /src/events/Windows.cpp | |
| parent | 8a3ea54184d123cec969e2e77c5bf87ec36befd3 (diff) | |
activewindow class and title
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 6e18fdf3..2133a37f 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -289,7 +289,7 @@ void Events::listener_setTitleWindow(void* owner, void* data) { PWINDOW->m_szTitle = g_pXWaylandManager->getTitle(PWINDOW); if (PWINDOW == g_pCompositor->m_pLastWindow) // if it's the active, let's post an event to update others - g_pEventManager->postEvent(SHyprIPCEvent("activewindow", PWINDOW->m_szTitle)); + g_pEventManager->postEvent(SHyprIPCEvent("activewindow", g_pXWaylandManager->getAppIDClass(PWINDOW) + "," + PWINDOW->m_szTitle)); Debug::log(LOG, "Window %x set title to %s", PWINDOW, PWINDOW->m_szTitle.c_str()); } |
