From d0186c4a66d07e45ef423970ded615917a718cb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 29 Aug 2010 05:46:29 +0000 Subject: [PATCH] Forward port rev 1169323: Allow moving of "unmovable" windows if present windows mode is used in desktop grid. Allows to move a window with a fixed position to another desktop. This is only available in present windows mode as in normal mode each mouse movement results in a window movement and therefore not possible. CCBUG: 249337 svn path=/trunk/KDE/kdebase/workspace/; revision=1169324 --- 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 62bfa4ad32..9e37191f29 100644 --- a/effects/desktopgrid/desktopgrid.cpp +++ b/effects/desktopgrid/desktopgrid.cpp @@ -640,7 +640,7 @@ void DesktopGridEffect::windowInputMouseEvent( Window, QEvent* e ) EffectWindow* w = isDesktop ? NULL : windowAt( me->pos()); if ( w != NULL ) isDesktop = w->isDesktop(); - if( w != NULL && ( w->isMovable() || w->isMovableAcrossScreens() )) + if( w != NULL && ( w->isMovable() || w->isMovableAcrossScreens() || isUsingPresentWindows() )) { // Prepare it for moving windowMoveDiff = w->pos() - unscalePos( me->pos(), NULL ); windowMove = w;