fix: 🐛 do not tile utility windows on wayland

This commit is contained in:
Mikhail Zolotukhin 2021-10-18 01:02:57 +03:00
parent aa053694aa
commit 935a33820b
3 changed files with 5 additions and 5 deletions

View File

@ -62,7 +62,7 @@
<entry name="ignoreClass" type="String">
<label>Ignore windows with certain classes(comma-separated list)</label>
<default>krunner,yakuake,spectacle,kded5,Conky</default>
<default>yakuake,spectacle,Conky</default>
</entry>
<entry name="ignoreRole" type="String">

View File

@ -238,10 +238,7 @@ export class ConfigImpl implements Config {
this.kwinApi.KWin.readConfig("ignoreActivity", "")
);
this.ignoreClass = commaSeparate(
this.kwinApi.KWin.readConfig(
"ignoreClass",
"krunner,yakuake,spectacle,kded5,Conky"
)
this.kwinApi.KWin.readConfig("ignoreClass", "yakuake,spectacle,Conky")
);
this.ignoreRole = commaSeparate(
this.kwinApi.KWin.readConfig("ignoreRole", "quake")

View File

@ -55,6 +55,9 @@ export class KWinWindow implements DriverWindow {
return (
this.client.specialWindow ||
resourceClass === "plasmashell" ||
resourceClass === "org.kde.plasmashell" ||
resourceClass === "krunner" ||
resourceClass === "kded5" ||
this.config.ignoreClass.indexOf(resourceClass) >= 0 ||
this.config.ignoreClass.indexOf(resourceName) >= 0 ||
matchWords(this.client.caption, this.config.ignoreTitle) >= 0 ||