Don't crash when activating a window on another desktop.

svn path=/branches/work/kwin_composite/; revision=648171
icc-effect-5.14.5
Philip Falkner 2007-03-30 17:15:48 +00:00
parent 1f167d8d15
commit efa28b23f5
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}
}