From 60b09586ef235d5f7363b4daee626e27ed5547cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 4 Dec 2015 09:54:10 +0100 Subject: [PATCH] [decorations] Schedule repaint for renderer on AbstractClient We need to search in AbstractClient instead of just Client. --- decorations/decorationbridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decorations/decorationbridge.cpp b/decorations/decorationbridge.cpp index c81bfc4604..68e338a92f 100644 --- a/decorations/decorationbridge.cpp +++ b/decorations/decorationbridge.cpp @@ -218,7 +218,7 @@ std::unique_ptr DecorationBridge::setti void DecorationBridge::update(KDecoration2::Decoration *decoration, const QRect &geometry) { // TODO: remove check once all compositors implement it - if (Client *c = Workspace::self()->findClient([decoration] (const Client *client) { return client->decoration() == decoration; })) { + if (AbstractClient *c = Workspace::self()->findAbstractClient([decoration] (const AbstractClient *client) { return client->decoration() == decoration; })) { if (Renderer *renderer = c->decoratedClient()->renderer()) { renderer->schedule(geometry); }