Only show cross cursor in desktop grid when clicking on a movable window.
CCBUG: 204571 svn path=/trunk/KDE/kdebase/workspace/; revision=1013898icc-effect-5.14.5
parent
693bef0023
commit
70dfff75e8
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue