diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-03 19:16:51 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-03 19:16:51 +0100 |
| commit | a43b18ae265e83cb2e5968b46e5bc2b9f666f81f (patch) | |
| tree | 16de41c9e2f17507438f72b451398747085c5f89 /src/events/Windows.cpp | |
| parent | 0a099ca2ab8e4b5da01189202740bbc4bbe81f5b (diff) | |
Feat: add initial class/title to hyprctl clients
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 4a0d3dbe..95de2305 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -117,6 +117,9 @@ void Events::listener_mapWindow(void* owner, void* data) { bool shouldFocus = true; bool workspaceSpecial = false; + PWINDOW->m_szInitialTitle = g_pXWaylandManager->getTitle(PWINDOW); + PWINDOW->m_szInitialClass = g_pXWaylandManager->getAppIDClass(PWINDOW); + for (auto& r : WINDOWRULES) { if (r.szRule.find("monitor") == 0) { try { |
