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.
This commit is contained in:
parent
7fc15b48fb
commit
e61ad65f10
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ void InputRedirection::updatePointerWindow()
|
|||
void InputRedirection::updatePointerDecoration(Toplevel *t)
|
||||
{
|
||||
const auto oldDeco = m_pointerDecoration;
|
||||
if (Client *c = dynamic_cast<Client*>(t)) {
|
||||
if (AbstractClient *c = dynamic_cast<AbstractClient*>(t)) {
|
||||
// check whether it's on a Decoration
|
||||
if (c->decoratedClient()) {
|
||||
const QRect clientRect = QRect(c->clientPos(), c->clientSize()).translated(c->pos());
|
||||
|
|
Loading…
Reference in a new issue