Fix possible crasher introduced by the new close window feature
svn path=/trunk/KDE/kdebase/workspace/; revision=1181666
This commit is contained in:
parent
1bee9e378f
commit
7e5d860cc3
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ void PresentWindowsEffect::windowInputMouseEvent( Window w, QEvent *e )
|
|||
break;
|
||||
}
|
||||
}
|
||||
if( m_motionManager.transformedGeometry( m_highlightedWindow ).contains( me->pos() ) )
|
||||
if( m_highlightedWindow && m_motionManager.transformedGeometry( m_highlightedWindow ).contains( me->pos() ) )
|
||||
updateCloseWindow();
|
||||
else
|
||||
m_closeView->hide();
|
||||
|
|
Loading…
Reference in a new issue