diff --git a/docs/changelog.md b/docs/changelog.md index b2e0bc4..e5d96d6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -11,6 +11,7 @@ SPDX-License-Identifier: CC-BY-4.0 #### Enhancements +- On KDE, the effects are no longer applied to windows which are on all desktops and have no decoration. This is primarily meant to avoid applying the effects to the Alt+Tab switcher. - Several translations have been updated. Thanks to all the translators! - Instead of an always out-of-date list of sponsors, the main menu of the preferences dialog now contains a link to the new [list of all donors](https://schneegans.github.io/sponsors/). This list is semi-automatically updated whenever a new donation is received. Thanks to all the donors! - The possibility to [donate cryptocurrencies](https://schneegans.cb.id) has been added. diff --git a/kwin/main.js.in b/kwin/main.js.in index b2cec57..3fff01f 100755 --- a/kwin/main.js.in +++ b/kwin/main.js.in @@ -80,6 +80,12 @@ class %EFFECT_CLASS% { return window.hasDecoration; } + // This is primarily to avoid animating the AltTab popup. + // See https://github.com/Schneegans/Burn-My-Windows/issues/384 for details. + if (!window.hasDecoration && window.onAllDesktops) { + return false + } + if (blacklist.indexOf(window.windowClass) != -1) { return false; }