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,6 +1803,7 @@ void PresentWindowsEffect::setHighlightedWindow(EffectWindow *w)
|
||||||
if (w == m_highlightedWindow || (w != NULL && !m_motionManager.isManaging(w)))
|
if (w == m_highlightedWindow || (w != NULL && !m_motionManager.isManaging(w)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (m_closeView)
|
||||||
m_closeView->hide();
|
m_closeView->hide();
|
||||||
if (m_highlightedWindow) {
|
if (m_highlightedWindow) {
|
||||||
effects->setElevatedWindow(m_highlightedWindow, false);
|
effects->setElevatedWindow(m_highlightedWindow, false);
|
||||||
|
|
Loading…
Reference in a new issue