Only show cross cursor in desktop grid when clicking on a movable window.

CCBUG: 204571

svn path=/trunk/KDE/kdebase/workspace/; revision=1013898
icc-effect-5.14.5
Martin Gräßlin 2009-08-21 07:03:33 +00:00
parent 693bef0023
commit 70dfff75e8
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ void DesktopGridEffect::windowInputMouseEvent( Window, QEvent* e )
{
QRect rect;
EffectWindow* w = windowAt( me->pos());
if( w != NULL )
if( w != NULL && (w->isMovable() || w->isMovableAcrossScreens()) )
{ // Prepare it for moving
XDefineCursor( display(), input, QCursor( Qt::SizeAllCursor ).handle() );
windowMoveDiff = w->pos() - unscalePos( me->pos(), NULL );