From 9db2d7e783730f565f48d143d2c601968ffa8116 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 7 Jan 2008 20:19:16 +0000 Subject: [PATCH] SVN_SILENT: fix the debug output too svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758399 --- containment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containment.cpp b/containment.cpp index f6fc5a521..fa27d6967 100644 --- a/containment.cpp +++ b/containment.cpp @@ -669,7 +669,7 @@ void Containment::setScreen(int screen) //kDebug() << "setting geometry to" << desktop->screenGeometry(screen) << r << geometry(); } else if (containmentType() == PanelContainment) { QRect r = desktop->screenGeometry(screen); - //kDebug() << "we are a panel on" << r << ", let's move ourselves to a negative coordinate system" << -(r.x() * 2) - r.height() - INTER_CONTAINMENT_MARGIN; + //kDebug() << "we are a panel on" << r << ", let's move ourselves to a negative coordinate system" << -(r.y() * 2) - r.height() - INTER_CONTAINMENT_MARGIN; // panels are moved into negative coords; we double the x() so that each screen get's // it's own area for panels int vertOffset = (r.y() * 2) + r.height() + INTER_CONTAINMENT_MARGIN;