Update the titlebar pixmap _after_ the titlebar button layout has been updated.
Fixes a minor bug in the custom button position preview. svn path=/trunk/KDE/kdebase/kwin/; revision=434376
This commit is contained in:
parent
8744d57a02
commit
f3620b530b
1 changed files with 3 additions and 3 deletions
|
@ -365,12 +365,12 @@ void ModernButton::drawButton(QPainter *p)
|
||||||
|
|
||||||
void ModernSys::reset( unsigned long changed)
|
void ModernSys::reset( unsigned long changed)
|
||||||
{
|
{
|
||||||
|
KCommonDecoration::reset(changed);
|
||||||
|
|
||||||
titleBuffer.resize(0, 0);
|
titleBuffer.resize(0, 0);
|
||||||
recalcTitleBuffer();
|
recalcTitleBuffer();
|
||||||
resetButtons();
|
resetButtons();
|
||||||
widget()->repaint();
|
widget()->update();
|
||||||
|
|
||||||
KCommonDecoration::reset(changed);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ModernSys::ModernSys( KDecorationBridge* b, KDecorationFactory* f )
|
ModernSys::ModernSys( KDecorationBridge* b, KDecorationFactory* f )
|
||||||
|
|
Loading…
Reference in a new issue