From eac0686ecd5996a868e3ea2c01deb3d77055e816 Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Wed, 25 Oct 2023 16:58:36 +0200 Subject: [PATCH 1/3] :wrench: Do not apply effects to windows which are on all desktops and have no decoration --- kwin/main.js.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kwin/main.js.in b/kwin/main.js.in index b2cec57..b4c7475 100755 --- a/kwin/main.js.in +++ b/kwin/main.js.in @@ -80,6 +80,10 @@ class %EFFECT_CLASS% { return window.hasDecoration; } + if (!window.hasDecoration && window.onAllDesktops) { + return false + } + if (blacklist.indexOf(window.windowClass) != -1) { return false; } From 4b3f13522987ec63cdbeaeee2807bd0c7c75bf4f Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Wed, 25 Oct 2023 17:00:22 +0200 Subject: [PATCH 2/3] :memo: Add comment --- kwin/main.js.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kwin/main.js.in b/kwin/main.js.in index b4c7475..3fff01f 100755 --- a/kwin/main.js.in +++ b/kwin/main.js.in @@ -80,6 +80,8 @@ 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 } From a92de7db3ae0ab9b825ca50898d5a09cb28e385e Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Wed, 25 Oct 2023 17:02:56 +0200 Subject: [PATCH 3/3] :memo: Add changelog entry --- docs/changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/changelog.md b/docs/changelog.md index 053431b..720ff9d 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. - 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.