screencast: No need to describe the cursor while it's outside the viewport
This commit is contained in:
parent
d054b12123
commit
76d53a0ce7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue