[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kwin/clients/keramik
From:       Gunnar Schmidt <gunnar () schmi-dt ! de>
Date:       2003-09-28 13:58:34
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic