diff --git a/src/pointer_input.cpp b/src/pointer_input.cpp index 15fbe0b691..3f58d96fda 100644 --- a/src/pointer_input.cpp +++ b/src/pointer_input.cpp @@ -13,7 +13,6 @@ #include #include "core/output.h" -#include "core/platform.h" #include "decorations/decoratedclient.h" #include "effects.h" #include "input_event.h" @@ -1414,18 +1413,4 @@ void InputRedirectionCursor::slotPointerButtonChanged() Q_EMIT mouseChanged(pos, pos, m_currentButtons, oldButtons, input()->keyboardModifiers(), input()->keyboardModifiers()); } -void InputRedirectionCursor::doStartCursorTracking() -{ -#ifndef KCMRULES -// connect(Cursors::self(), &Cursors::currentCursorChanged, this, &Cursor::cursorChanged); -#endif -} - -void InputRedirectionCursor::doStopCursorTracking() -{ -#ifndef KCMRULES -// disconnect(kwinApp()->platform(), &Platform::cursorChanged, this, &Cursor::cursorChanged); -#endif -} - } diff --git a/src/pointer_input.h b/src/pointer_input.h index 4967282dde..ecaa426d48 100644 --- a/src/pointer_input.h +++ b/src/pointer_input.h @@ -284,8 +284,7 @@ public: protected: void doSetPos() override; - void doStartCursorTracking() override; - void doStopCursorTracking() override; + private Q_SLOTS: void slotPosChanged(const QPointF &pos); void slotPointerButtonChanged();