kwin-scripts / kwin-tiling

Tiling script for kwin
GNU General Public License v2.0
1.1k stars 68 forks source link

Window class exclude rule issue #248

Closed eggeek closed 3 years ago

eggeek commented 3 years ago

Hi, What if a window has multiple window class and one of the class matches to exclude rule, what's the expected behaviour? For example, I have a drop-down alacritty window (created by tdrop) with yakuake class :

WM_CLASS(STRING) = "Yakuake", "Alacritty"

I expect this window should be ignored because yakuake is in black list. But actually it's not. I have to also add "alacritty" to make this work, but this means all my terminals are excluded as well, which is not I want.

faho commented 3 years ago

The "class" is only the latter value. The former is the "resourceName". Yes, I know, xprop is awful.

Since #222 we match either. If that doesn't work for you, you're probably using an older version or it's a kwin bug.