Commit b7c508be authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

thumbnail: only keep the stream active if the window is shown

It does not make much sense to render the thumbnail when hidden,
especially on lower end devices like the pine.
parent 972046f0
......@@ -23,8 +23,7 @@ import QtQuick.Window 2.2
import org.kde.taskmanager 0.1 as TaskManager
TaskManager.PipeWireSourceItem {
//visible: waylandItem.nodeId > 0
visible: true
visible: Window.visibility !== Window.Hidden
nodeId: waylandItem.nodeId
TaskManager.ScreencastingRequest {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment