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

List:       kde-commits
Subject:    kdebase/kwin/clients/laptop
From:       Luciano Montanaro <mikelima () virgilio ! it>
Date:       2003-09-17 14:25:14
[Download RAW message or body]

CVS commit by montanaro: 

Fixed resize artifacts


  M +5 -4      laptopclient.cpp   1.30


--- kdebase/kwin/clients/laptop/laptopclient.cpp  #1.29:1.30
@@ -433,8 +433,9 @@ void LaptopClient::resizeEvent(QResizeEv
         if ( dx ) {
             widget()->update( width() - dx + 1, 0, dx, height() );
-            widget()->update( QRect( QPoint(4,4), titlebar->geometry().bottomLeft() \
                - QPoint(1,0) ) );
-            widget()->update( QRect( titlebar->geometry().topRight(), QPoint( \
                width() - 4, titlebar->geometry().bottom() ) ) );
-            // titlebar needs no background
-            QApplication::postEvent( this, new QPaintEvent( titlebar->geometry(), \
FALSE ) ); +            widget()->update( QRect( QPoint(4,4), 
+                        titlebar->geometry().bottomLeft() - QPoint(1,0) ) );
+            widget()->update( QRect( titlebar->geometry().topRight(), 
+                        QPoint( width() - 4, titlebar->geometry().bottom() ) ) );
+            widget()->update(titlebar->geometry());
         }
     }


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

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