secure closeView NULL pointer access
BUG: 293654
This commit is contained in:
parent
6f3b9fae2a
commit
7d17a29826
1 changed files with 2 additions and 1 deletions
|
@ -1803,7 +1803,8 @@ void PresentWindowsEffect::setHighlightedWindow(EffectWindow *w)
|
|||
if (w == m_highlightedWindow || (w != NULL && !m_motionManager.isManaging(w)))
|
||||
return;
|
||||
|
||||
m_closeView->hide();
|
||||
if (m_closeView)
|
||||
m_closeView->hide();
|
||||
if (m_highlightedWindow) {
|
||||
effects->setElevatedWindow(m_highlightedWindow, false);
|
||||
m_highlightedWindow->addRepaintFull(); // Trigger the first repaint
|
||||
|
|
Loading…
Reference in a new issue