Don't call widget()->update() in our resizeEvent()! Resizing windows with
Plastik decorations feels faster now. There already is something which triggers PaintEvents, I don't understand why this is. However paintEvent() has actually been called 2 (!) times for every resize event. It seems that other window decorations have the same problem, I will check that later. CCMAIL: kwin@kde.org svn path=/trunk/kdebase/kwin/; revision=355068
This commit is contained in:
parent
a9d20d0fc4
commit
3e88c13677
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ bool PlastikClient::isTool()
|
|||
void PlastikClient::resizeEvent()
|
||||
{
|
||||
doShape();
|
||||
widget()->update();
|
||||
// widget()->update();
|
||||
}
|
||||
|
||||
void PlastikClient::paintEvent(QPaintEvent*)
|
||||
|
|
Loading…
Reference in a new issue