diff --git a/src/plugins/screencast/pipewirestream.cpp b/src/plugins/screencast/pipewirestream.cpp index dc73befd1a..b11df8c941 100644 --- a/src/plugins/screencast/pipewirestream.cpp +++ b/src/plugins/screencast/pipewirestream.cpp @@ -585,7 +585,7 @@ QRect PipeWireStream::cursorGeometry(Cursor *cursor) const void PipeWireStream::sendCursorData(Cursor *cursor, spa_meta_cursor *spa_meta_cursor) { - if (!cursor || !spa_meta_cursor) { + if (!cursor || !spa_meta_cursor || !m_cursor.viewport.contains(cursor->pos())) { return; }