Activate the desktop under the mouse cursor instead of the highlighted

one in the Desktop Grid effect.
BUG: 207271

svn path=/trunk/KDE/kdebase/workspace/; revision=1030940
This commit is contained in:
Lucas Murray 2009-10-03 15:00:20 +00:00
parent 743e058af5
commit 31e52fd9ac

View file

@ -392,7 +392,7 @@ void DesktopGridEffect::windowInputMouseEvent( Window, QEvent* e )
{
if( !wasWindowMove && !wasDesktopMove )
{
setCurrentDesktop( highlightedDesktop );
setCurrentDesktop( posToDesktop( me->pos() ));
setActive( false );
}
if( windowMove )