From kde-commits Sun Sep 28 13:58:34 2003 From: Gunnar Schmidt Date: Sun, 28 Sep 2003 13:58:34 +0000 To: kde-commits Subject: kdebase/kwin/clients/keramik X-MARC-Message: https://marc.info/?l=kde-commits&m=106475754807318 CVS commit by gunnar: Corrected the size of the diagonal resize corners M +2 -2 keramik.cpp 1.23 --- kdebase/kwin/clients/keramik/keramik.cpp #1.22:1.23 @@ -51,5 +51,4 @@ namespace Keramik 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 @@ -1508,4 +1507,5 @@ KeramikClient::MousePosition KeramikClie 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