command line options for WM_CLASS and WM_ROLE do not work
Bug #1695793 reported by
Gregor Santner
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
New
|
Undecided
|
Unassigned |
Bug Description
Data: Terminator 1.91, Arch Linux x64, XFCE 4.12
Setting WM_CLASS and/or WM_ROLE attributes via the available "-r"/"-c" option do not work.
Resolving the WM attributes always yields >>>WM_CLASS(STRING) = "terminator", "Terminator"<<< , supplied parameters are getting ignored. This makes window-lists/docks believe this is just another terminator window, and therefore it can't be distinguished from others.
Example call: terminator -c mocp -r mocp -x mocp
Should show: mocp as WM_CLASS and mocp as WM_ROLE
Current: "terminator", "Terminator"
See attachment.
To post a comment you must log in.
See https:/ /developer. gnome.org/ gtk3/stable/ GtkWindow. html#gtk- window- set-wmclass
First sentence: "Don't use this function." It is also deprecated in 3.22, so it will disappear completely at some point in the future (possibly 4.0).
So this option was removed in http:// bazaar. launchpad. net/~gnome- terminator/ terminator/ gtk3/revision/ 1758
Instead we are told to use the set_role function, which should still be done and working. I'm not currently in a position to test it though, so I'll check that later.