rebuild quads when removing shadows for empty prop
BUG: 320786 FIXED-IN: 4.11 REVIEW: 110871
This commit is contained in:
parent
a2e9957860
commit
6146fa39a4
1 changed files with 4 additions and 1 deletions
|
@ -206,8 +206,11 @@ bool Shadow::updateShadow()
|
|||
{
|
||||
QVector<long> data = Shadow::readX11ShadowProperty(m_topLevel->window());
|
||||
if (data.isEmpty()) {
|
||||
if (m_topLevel && m_topLevel->effectWindow() && m_topLevel->effectWindow()->sceneWindow())
|
||||
if (m_topLevel && m_topLevel->effectWindow() && m_topLevel->effectWindow()->sceneWindow() &&
|
||||
m_topLevel->effectWindow()->sceneWindow()->shadow()) {
|
||||
m_topLevel->effectWindow()->sceneWindow()->updateShadow(0);
|
||||
m_topLevel->effectWindow()->buildQuads(true);
|
||||
}
|
||||
deleteLater();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue