Commit e23c3a69 authored by David Edmundson's avatar David Edmundson
Browse files

[Effects/blend] Let fullscreen effects take priority

The Blendchanges effect works by showing a snapshot of the current
screen for a few ms. Any other active full screen effect will look
broken, so it should take priority.

This is pre-empting an issue with a new Plasma feature that syncs
colours to wallpapers. Once we animate activity switches / have per
desktop wallpapers it'll glitch out.
parent c36ecacf
Pipeline #178804 passed with stage
in 13 minutes and 29 seconds
......@@ -41,6 +41,10 @@ void KWin::BlendChanges::start(int delay)
if (!supported() || m_state != Off) {
return;
}
if (effects->hasActiveFullScreenEffect()) {
return;
}
const EffectWindowList allWindows = effects->stackingOrder();
for (auto window : allWindows) {
redirect(window);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment