From 167b5502807020fd2b1e2e2107c979a142b6c61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 8 Sep 2012 19:43:01 +0200 Subject: [PATCH 1/2] 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 --- effects/translucency/translucency.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/effects/translucency/translucency.cpp b/effects/translucency/translucency.cpp index a725bbb09e..362cd7dea8 100644 --- a/effects/translucency/translucency.cpp +++ b/effects/translucency/translucency.cpp @@ -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; From 4240494130751a7693cb9b2088ba49483741b287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 8 Sep 2012 19:47:03 +0200 Subject: [PATCH 2/2] Initialize m_vBlankTime in Options Thanks to Albert for spotting this issue. BUG: 306457 FIXED-IN: 4.9.2 --- options.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/options.cpp b/options.cpp index ce9e3719a8..4401da8795 100644 --- a/options.cpp +++ b/options.cpp @@ -154,6 +154,7 @@ Options::Options(QObject *parent) , m_xrenderSmoothScale(Options::defaultXrenderSmoothScale()) , m_maxFpsInterval(Options::defaultMaxFpsInterval()) , m_refreshRate(Options::defaultRefreshRate()) + , m_vBlankTime(Options::defaultVBlankTime()) , m_glDirect(Options::defaultGlDirect()) , m_glStrictBinding(Options::defaultGlStrictBinding()) , m_glStrictBindingFollowsDriver(Options::defaultGlStrictBindingFollowsDriver())