Feat: add initial class/title to hyprctl clients
This commit is contained in:
parent
0a099ca2ab
commit
a43b18ae26
3 changed files with 25 additions and 17 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue