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:
Sandro Giessl 2004-10-16 16:47:56 +00:00
parent a9d20d0fc4
commit 3e88c13677

View file

@ -119,7 +119,7 @@ bool PlastikClient::isTool()
void PlastikClient::resizeEvent()
{
doShape();
widget()->update();
// widget()->update();
}
void PlastikClient::paintEvent(QPaintEvent*)