Better map ShellClient to resource name and class
Summary: The window rules dialog did not properly detect the wayland windows. So I investigated what ICCCM writes about the WM_CLASS property (which is the base for window rule matching) and checked how ShellClient maps to it. Basically name and class was swapped and the reason for the detection not working properly. As we don't have a proper name, the code is adjusted to generate a name by using the executable name. This is also what WM_CLASS should be filled with, according to ICCCM. Test Plan: Rules dialog detects the name and class correctly Reviewers: #kwin, #plasma Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D11023
parent
1a7a3b98
Please register or sign in to comment