From bde8e27f2120cb9fb95075b8be700adf8ff47aa4 Mon Sep 17 00:00:00 2001 From: Gunnar Schmidt Date: Fri, 3 Oct 2003 13:51:02 +0000 Subject: [PATCH] fixed a problem in KeramikClient::mousePosition svn path=/trunk/kdebase/kwin/; revision=255907 --- clients/keramik/keramik.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/keramik/keramik.cpp b/clients/keramik/keramik.cpp index 2a4feec1a6..87e7a1d683 100644 --- a/clients/keramik/keramik.cpp +++ b/clients/keramik/keramik.cpp @@ -1506,7 +1506,7 @@ KeramikClient::MousePosition KeramikClient::mousePosition( const QPoint &p ) con int leftBorder = clientHandler->tile( BorderLeft, true )->width(); int rightBorder = width() - clientHandler->tile( BorderRight, true )->width() - 1; int bottomBorder = height() - clientHandler->grabBarHeight() - 1; - int bottomCornerSize = 3*rightBorder/2 + 24; + int bottomCornerSize = 3*clientHandler->tile( BorderRight, true )->width()/2 + 24; // Test if the mouse is over the titlebar area if ( p.y() < titleBaseY + 11 ) {