From e61ad65f104ff0d1a64bacfc74a92944dd83df8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 3 Dec 2015 17:39:06 +0100 Subject: [PATCH] InputRedirection::updatePointerDecoration operates on AbstractClient for deco As decoration and decoratedClient is now in AbstractClient we don't need to keep it as Client specific code. --- input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.cpp b/input.cpp index 9092b7b5dd..8a9d4e066b 100644 --- a/input.cpp +++ b/input.cpp @@ -563,7 +563,7 @@ void InputRedirection::updatePointerWindow() void InputRedirection::updatePointerDecoration(Toplevel *t) { const auto oldDeco = m_pointerDecoration; - if (Client *c = dynamic_cast(t)) { + if (AbstractClient *c = dynamic_cast(t)) { // check whether it's on a Decoration if (c->decoratedClient()) { const QRect clientRect = QRect(c->clientPos(), c->clientSize()).translated(c->pos());