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
This commit is contained in:
Martin Gräßlin 2012-09-08 19:43:01 +02:00
parent 633694b7b4
commit 167b550280

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;