From d8dc46856e5528701e6e56e6d9d6e5700ce024fd Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Sat, 10 Dec 2022 16:24:32 +0100 Subject: [PATCH] effects/blendchanges: ignore fullscreen windows Fullscreen windows are most likely games or videos, where the blend effect is an annoyance that freezes the screen for a moment when a accent color change is triggered in the background. --- src/effects/blendchanges/blendchanges.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/effects/blendchanges/blendchanges.cpp b/src/effects/blendchanges/blendchanges.cpp index 7179a311d2..2d21c5dd7b 100644 --- a/src/effects/blendchanges/blendchanges.cpp +++ b/src/effects/blendchanges/blendchanges.cpp @@ -46,7 +46,9 @@ void KWin::BlendChanges::start(int delay) const EffectWindowList allWindows = effects->stackingOrder(); for (auto window : allWindows) { - redirect(window); + if (!window->isFullScreen()) { + redirect(window); + } } QTimer::singleShot(delay, this, [this, animationDuration]() {