diff --git a/src/platform.cpp b/src/platform.cpp index 258bf50a2d..f4c9a52390 100644 --- a/src/platform.cpp +++ b/src/platform.cpp @@ -209,19 +209,6 @@ AbstractOutput *Platform::outputAt(const QPoint &pos) const return bestOutput; } -void Platform::triggerCursorRepaint() -{ - if (Compositor::compositing()) { - Compositor::self()->scene()->addRepaint(m_cursor.lastRenderedGeometry); - Compositor::self()->scene()->addRepaint(Cursors::self()->currentCursor()->geometry()); - } -} - -void Platform::cursorRendered(const QRect &geometry) -{ - m_cursor.lastRenderedGeometry = geometry; -} - void Platform::keyboardKeyPressed(quint32 key, quint32 time) { if (!input()) { diff --git a/src/platform.h b/src/platform.h index 7b6f144323..a1b32ab93a 100644 --- a/src/platform.h +++ b/src/platform.h @@ -391,7 +391,6 @@ public Q_SLOTS: void processPinchGestureEnd(quint32 time); void processPinchGestureCancelled(quint32 time); - void cursorRendered(const QRect &geometry); virtual void sceneInitialized() {}; Q_SIGNALS: @@ -448,10 +447,6 @@ protected: } private: - void triggerCursorRepaint(); - struct { - QRect lastRenderedGeometry; - } m_cursor; bool m_ready = false; QSize m_initialWindowSize; QByteArray m_deviceIdentifier;