Only show cross cursor in desktop grid when clicking on a movable window.
CCBUG: 204571 svn path=/trunk/KDE/kdebase/workspace/; revision=1013898
This commit is contained in:
parent
693bef0023
commit
70dfff75e8
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ void DesktopGridEffect::windowInputMouseEvent( Window, QEvent* e )
|
||||||
{
|
{
|
||||||
QRect rect;
|
QRect rect;
|
||||||
EffectWindow* w = windowAt( me->pos());
|
EffectWindow* w = windowAt( me->pos());
|
||||||
if( w != NULL )
|
if( w != NULL && (w->isMovable() || w->isMovableAcrossScreens()) )
|
||||||
{ // Prepare it for moving
|
{ // Prepare it for moving
|
||||||
XDefineCursor( display(), input, QCursor( Qt::SizeAllCursor ).handle() );
|
XDefineCursor( display(), input, QCursor( Qt::SizeAllCursor ).handle() );
|
||||||
windowMoveDiff = w->pos() - unscalePos( me->pos(), NULL );
|
windowMoveDiff = w->pos() - unscalePos( me->pos(), NULL );
|
||||||
|
|
Loading…
Reference in a new issue