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

List:       kde-commits
Subject:    kdebase/kwin/clients/plastik
From:       Sandro Giessl <sandro () giessl ! com>
Date:       2004-10-17 14:19:27
Message-ID: 20041017141927.0B51216CF9 () office ! kde ! org
[Download RAW message or body]

CVS commit by giessl: 

this exception for shaded windows was necessary for the old decoration API...


  M +0 -13     plastikclient.cpp   1.27


--- kdebase/kwin/clients/plastik/plastikclient.cpp  #1.26:1.27
@@ -319,16 +319,4 @@ void PlastikClient::paintEvent(QPaintEve
     }
 
-    if(Rleft.height() == 1 && Rright.height() == 1) // the window is shaded... hopefully
-    {
-        // let's orient on the bottomSpacer which should have the prper x coords...
-        painter.setPen(windowContour );
-        painter.drawPoint(Rbottom.left(), Rleft.top() );
-        painter.drawPoint(Rbottom.right(), Rright.top() );
-        painter.setPen(border );
-        painter.drawLine(Rbottom.left()+1, Rleft.top(), Rbottom.right()-1, Rright.top() );
-
-    }
-    else
-    {
         // leftSpacer
         if(Rleft.width() > 0 && Rleft.height() > 0)
@@ -362,5 +350,4 @@ void PlastikClient::paintEvent(QPaintEve
             }
         }
-    }
 
     // bottomSpacer


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

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