mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
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.
This commit is contained in:
parent
972046f062
commit
b7c508beb7
1 changed files with 1 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue