From 31e52fd9ac243c9722164d2d4bf185da0b1c8016 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Sat, 3 Oct 2009 15:00:20 +0000 Subject: [PATCH] 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 --- effects/desktopgrid/desktopgrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/desktopgrid/desktopgrid.cpp b/effects/desktopgrid/desktopgrid.cpp index c83e3962d8..d4eba03341 100644 --- a/effects/desktopgrid/desktopgrid.cpp +++ b/effects/desktopgrid/desktopgrid.cpp @@ -392,7 +392,7 @@ void DesktopGridEffect::windowInputMouseEvent( Window, QEvent* e ) { if( !wasWindowMove && !wasDesktopMove ) { - setCurrentDesktop( highlightedDesktop ); + setCurrentDesktop( posToDesktop( me->pos() )); setActive( false ); } if( windowMove )