From 4b0caa15b32d77ba84b9a4a98bd3ae091238f2e8 Mon Sep 17 00:00:00 2001 From: George Staikos Date: Mon, 8 Mar 2004 22:32:47 +0000 Subject: [PATCH] patch from Lubos for Xinerama movement snapping CCMAIL: l.lunak@suse.cz svn path=/trunk/kdebase/kwin/; revision=294555 --- geometry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geometry.cpp b/geometry.cpp index f851b6ccb7..cdaaadf9bb 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -236,9 +236,9 @@ QRect Workspace::clientArea( clientAreaOption opt, const QPoint& p, int desktop return warea; case MovementArea: if (options->xineramaMovementEnabled) - return sarea; + return desktopwidget->screenGeometry( screen ); else - return warea; + return desktopwidget->geometry(); case WorkArea: return warea; case FullArea: