Forgot to add the changes to client for argb decoration (rev 957681)
svn path=/trunk/KDE/kdebase/workspace/; revision=957718
This commit is contained in:
parent
9ed7360157
commit
1c45f2a2d8
2 changed files with 9 additions and 0 deletions
|
@ -419,6 +419,14 @@ void Client::repaintDecorationPending()
|
|||
ensureDecorationPixmapsPainted();
|
||||
}
|
||||
|
||||
bool Client::decorationPixmapRequiresRepaint()
|
||||
{
|
||||
if (!paintRedirector)
|
||||
return false;
|
||||
QRegion r = paintRedirector->pendingRegion();
|
||||
return !r.isEmpty();
|
||||
}
|
||||
|
||||
void Client::ensureDecorationPixmapsPainted()
|
||||
{
|
||||
if (!paintRedirector)
|
||||
|
|
1
client.h
1
client.h
|
@ -310,6 +310,7 @@ class Client
|
|||
const QPixmap *bottomDecoPixmap() const { return &decorationPixmapBottom; }
|
||||
const QPixmap *rightDecoPixmap() const { return &decorationPixmapRight; }
|
||||
|
||||
bool decorationPixmapRequiresRepaint();
|
||||
void ensureDecorationPixmapsPainted();
|
||||
|
||||
private slots:
|
||||
|
|
Loading…
Reference in a new issue