[prev in list] [next in list] [prev in thread] [next in thread]
List: kwin
Subject: [Kwin] kdebase/kwin/clients/b2
From: Luciano Montanaro <mikelima () virgilio ! it>
Date: 2003-10-01 12:55:55
[Download RAW message or body]
CVS commit by montanaro:
CCMAIL: kwin@kde.org
Fixed the misrendered shaded border.
For me, the problem was fixed by redoing the layout in the shapeChange()
function. Maybe the other styles have to modified in a similar way.
I'd like to reduce the width of the window border to the titlebar width only,
instead of the full window border. In the BeeToo, I obtain a similar effect by
painting the titlebar only, but the trick is revealed by the window snap zones,
and the transparent border. Is there a way to do this cleanly with current kwin?
M +3 -5 b2client.cpp 1.42
--- kdebase/kwin/clients/b2/b2client.cpp #1.41:1.42
@@ -697,9 +697,4 @@ void B2Client::showEvent(QShowEvent *ev)
}
-void B2Client::windowWrapperShowEvent( QShowEvent* )
-{
- doShape();
-}
-
KDecoration::MousePosition B2Client::mousePosition( const QPoint& p ) const
{
@@ -815,4 +810,7 @@ void B2Client::activeChange()
void B2Client::shadeChange()
{
+ spacer->changeSize(10, isResizable() ? 8 : 4,
+ QSizePolicy::Expanding, QSizePolicy::Minimum);
+ g->activate();
}
_______________________________________________
Kwin mailing list
Kwin@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic