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.icc-effect-5.14.5
parent
7fc15b48fb
commit
e61ad65f10
|
@ -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 New Issue