Don't crash when activating a window on another desktop.
svn path=/branches/work/kwin_composite/; revision=648171icc-effect-5.14.5
parent
1f167d8d15
commit
efa28b23f5
|
@ -141,6 +141,9 @@ void PresentWindowsEffect::windowInputMouseEvent( Window w, QEvent* e )
|
|||
if( it.value().area.contains(pos) )
|
||||
{
|
||||
effects->activateWindow( it.key()->effectWindow());
|
||||
// mWindowData gets cleared and rebuilt when a window is
|
||||
// activated, so it's dangerous (and unnecessary) to continue
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue