Unelevate the moved window when it's released.

Fixes ugly bug where window would stay elevated even after the effect finishes.

svn path=/trunk/KDE/kdebase/workspace/; revision=732299
icc-effect-5.14.5
Rivo Laks 2007-11-03 12:44:13 +00:00
parent b070bc842b
commit 1f7c7cc89b
1 changed files with 1 additions and 0 deletions

View File

@ -532,6 +532,7 @@ void DesktopGridEffect::windowInputMouseEvent( Window, QEvent* e )
effects->calcDesktopLayout( &x, &y, &orientation );
effects->moveWindow( window_move, QPoint( rect.x() * x, rect.y() * y ));
effects->windowToDesktop( window_move, desktop );
effects->setElevatedWindow( window_move, false );
window_move = NULL;
}
}