Commit 8dccc889 authored by Thomas Lübking's avatar Thomas Lübking

secure m_highlightedWindows access when triggering

explicit repaint in highlight effect
parent 1fc3fb4d
......@@ -245,7 +245,8 @@ void HighlightWindowEffect::prepareHighlighting()
foreach( EffectWindow *w, effects->stackingOrder() )
if( !m_windowOpacity.contains( w )) // Just in case we are still finishing from last time
m_windowOpacity[w] = isInitiallyHidden( w ) ? 0.0 : 1.0;
m_highlightedWindows.at(0)->addRepaintFull();
if (!m_highlightedWindows.isEmpty())
m_highlightedWindows.at(0)->addRepaintFull();
}
void HighlightWindowEffect::finishHighlighting()
......
Markdown is supported
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