[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeartwork/kwin-styles/kstep
From: Luciano Montanaro <mikelima () virgilio ! it>
Date: 2003-09-18 8:32:23
[Download RAW message or body]
CVS commit by montanaro:
The resizeEvent() function must refresh the full border.
M +9 -1 nextclient.cpp 1.32
--- kdeartwork/kwin-styles/kstep/nextclient.cpp #1.31:1.32
@@ -492,4 +492,7 @@ void NextClient::resizeEvent(QResizeEven
{
if (widget()->isVisible()) {
+ // TODO ? update border area only?
+ widget()->update();
+#if 0
widget()->update(titlebar->geometry());
QPainter p(widget());
@@ -500,4 +503,5 @@ void NextClient::resizeEvent(QResizeEven
p.setClipRegion( r );
p.eraseRect(widget()->rect());
+#endif
}
}
@@ -526,8 +530,12 @@ void NextClient::paintEvent( QPaintEvent
options()->colorGroup(KDecoration::ColorTitleBar, isActive()));
p.drawLine(t.x(), t.bottom(), t.right(), t.bottom());
+
+#if 0
+ // Why setting up a clipping region if it is not used? (setClipping(false))
QRegion r = fr;
r = r.subtract( t );
p.setClipRegion( r );
- p.setClipping( FALSE );
+ p.setClipping(false);
+#endif
t.setTop( 1 );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic