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:
Sandro Giessl 2005-07-13 20:48:05 +00:00
parent 8744d57a02
commit f3620b530b

View file

@ -365,12 +365,12 @@ void ModernButton::drawButton(QPainter *p)
void ModernSys::reset( unsigned long changed)
{
KCommonDecoration::reset(changed);
titleBuffer.resize(0, 0);
recalcTitleBuffer();
resetButtons();
widget()->repaint();
KCommonDecoration::reset(changed);
widget()->update();
}
ModernSys::ModernSys( KDecorationBridge* b, KDecorationFactory* f )