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
This commit is contained in:
parent
3ba096c34e
commit
d0186c4a66
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue