From 80e11df49ce0180abf369e6d438c52244fe58e28 Mon Sep 17 00:00:00 2001 From: Gunnar Schmidt Date: Sun, 28 Sep 2003 13:58:33 +0000 Subject: [PATCH] Corrected the size of the diagonal resize corners svn path=/trunk/kdebase/kwin/; revision=254588 --- 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 9cf4655de0..2a4feec1a6 100644 --- a/clients/keramik/keramik.cpp +++ b/clients/keramik/keramik.cpp @@ -50,7 +50,6 @@ namespace Keramik const int buttonMargin = 9; // Margin between the window edge and the buttons const int buttonSpacing = 4; // Spacing between the titlebar buttons const int iconSpacing = 5; // Spacing between the icon and the text label - const int bottomCornerSize = 30; // Size of the bottom diagonal resize corners // Default button layout const char default_left[] = "M"; @@ -1507,6 +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; // Test if the mouse is over the titlebar area if ( p.y() < titleBaseY + 11 ) {