patch from Lubos for Xinerama movement snapping

CCMAIL: l.lunak@suse.cz

svn path=/trunk/kdebase/kwin/; revision=294555
This commit is contained in:
George Staikos 2004-03-08 22:32:47 +00:00
parent edbcd03ce9
commit 4b0caa15b3

View file

@ -236,9 +236,9 @@ QRect Workspace::clientArea( clientAreaOption opt, const QPoint& p, int desktop
return warea; return warea;
case MovementArea: case MovementArea:
if (options->xineramaMovementEnabled) if (options->xineramaMovementEnabled)
return sarea; return desktopwidget->screenGeometry( screen );
else else
return warea; return desktopwidget->geometry();
case WorkArea: case WorkArea:
return warea; return warea;
case FullArea: case FullArea: