forward port

Fix the decoration specific part of the bug: Shedule a repaint for every 
maximizeChange


svn path=/trunk/KDE/kdebase/workspace/; revision=468271
This commit is contained in:
Sandro Giessl 2005-10-07 14:43:56 +00:00
parent 3f14e3ccd9
commit a4d91bd3ab

View file

@ -518,6 +518,8 @@ void KCommonDecoration::maximizeChange()
: i18n("Restore"));
m_button[MaxButton]->reset(KCommonDecorationButton::StateChange);
}
updateWindowShape();
widget()->update();
}
void KCommonDecoration::desktopChange()
@ -602,7 +604,6 @@ void KCommonDecoration::slotMaximize()
if (m_button[MaxButton])
{
maximize(m_button[MaxButton]->lastMousePress() );
updateWindowShape();
}
}