Forward port rev 1183361: Do not allow to move desktop windows in desktop grid.
CCBUG: 253481 svn path=/trunk/KDE/kdebase/workspace/; revision=1183362
This commit is contained in:
parent
9b10dc7974
commit
d24f153bc5
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() || isUsingPresentWindows() ))
|
||||
if( w != NULL && !w->isDesktop() && ( w->isMovable() || w->isMovableAcrossScreens() || isUsingPresentWindows() ))
|
||||
{ // Prepare it for moving
|
||||
windowMoveDiff = w->pos() - unscalePos( me->pos(), NULL );
|
||||
windowMove = w;
|
||||
|
|
Loading…
Reference in a new issue