diff --git a/client.h b/client.h index 1fe5a81f02..fa5dc47bd3 100644 --- a/client.h +++ b/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(); diff --git a/composite.cpp b/composite.cpp index 00b281039b..573825f2f2 100644 --- a/composite.cpp +++ b/composite.cpp @@ -958,6 +958,12 @@ bool Client::shouldUnredirect() const return false; } +void Client::addRepaintFull() + { + repaints_region = decorationRect(); + workspace()->checkCompositeTimer(); + } + //**************************************** // Unmanaged //****************************************