Reimplement addRepaintFull() in Client and add the padding to the repaint region.

CCBUG: 201596

svn path=/trunk/KDE/kdebase/workspace/; revision=1004121
This commit is contained in:
Martin Gräßlin 2009-07-29 11:48:55 +00:00
parent e3985d49aa
commit 8981223956
2 changed files with 7 additions and 0 deletions

View file

@ -325,6 +325,7 @@ class Client
WindowRelative // Relative to the top left corner of the window
};
void layoutDecorationRects(QRect &left, QRect &top, QRect &right, QRect &bottom, CoordinateMode mode) const;
virtual void addRepaintFull();
private slots:
void autoRaise();

View file

@ -958,6 +958,12 @@ bool Client::shouldUnredirect() const
return false;
}
void Client::addRepaintFull()
{
repaints_region = decorationRect();
workspace()->checkCompositeTimer();
}
//****************************************
// Unmanaged
//****************************************