https://bugs.kde.org/show_bug.cgi?id=393238

--- Comment #21 from n...@tuta.io ---
Uh, anyhow; to implement this, all you have to do is inside the
breezedecoration.cpp within void Decoration::createShadow(), add a few lines
along the likes of this:

> auto c = client().data();
> if ( !c->isActive() ) { strength /= 2 }

This will take the previously defined const qreal strength and divide it by 2
if the window is inactive. You can also settle for other values. In my theme I
made it a user setting to leave it at "Normal" (/=2), "Light" (/=4) or "None"
in which case inactive windows will have no shadows at all.

And depending on the outcome of your discussion, you can probably simply use a
check for QPropertyAnimation::Running to animate a transition.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to