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:
parent
e3985d49aa
commit
8981223956
2 changed files with 7 additions and 0 deletions
1
client.h
1
client.h
|
@ -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();
|
||||
|
|
|
@ -958,6 +958,12 @@ bool Client::shouldUnredirect() const
|
|||
return false;
|
||||
}
|
||||
|
||||
void Client::addRepaintFull()
|
||||
{
|
||||
repaints_region = decorationRect();
|
||||
workspace()->checkCompositeTimer();
|
||||
}
|
||||
|
||||
//****************************************
|
||||
// Unmanaged
|
||||
//****************************************
|
||||
|
|
Loading…
Reference in a new issue