Drop supperfluous and wrong inactive check in translucency effect

Left over from the cleanup which basically resulted in the active window
being put to the inactive's window opacity.

Thanks for the early notification of that issue.

BUG: 306449
FIXED-IN: 4.9.2
icc-effect-5.14.5
Martin Gräßlin 2012-09-08 19:43:01 +02:00
parent 633694b7b4
commit 167b550280
1 changed files with 0 additions and 4 deletions

View File

@ -182,10 +182,6 @@ void TranslucencyEffect::paintWindow(EffectWindow* w, int mask, QRegion region,
if (m_activeInactive && isInactive(w)) {
data.opacity *= inactive;
} else {
// Fading in
if (!isInactive(w)) {
data.opacity *= inactive;
}
// decoration and dialogs
if (m_activeDecorations && w->hasDecoration())
data.decoration_opacity *= decoration;