shift-shell/components/mobileshell/qml/taskswitcher/Thumbnail.qml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
655 B
QML
Raw Normal View History

/*
2021-03-01 20:03:25 +00:00
* SPDX-FileCopyrightText: 2020 Marco Martin <notmart@gmail.com>
*
2021-03-01 20:03:25 +00:00
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
import QtQuick 2.0
import QtQuick.Layouts 1.1
import QtQuick.Window 2.2
import org.kde.pipewire 0.1 as PipeWire
import org.kde.taskmanager 0.1 as TaskManager
PipeWire.PipeWireSourceItem {
id: root
2022-05-11 23:51:31 +00:00
visible: nodeId > 0
nodeId: waylandItem.nodeId
2022-05-11 21:28:13 +00:00
2022-05-11 23:51:31 +00:00
readonly property alias uuid: waylandItem.uuid
2022-05-11 21:28:13 +00:00
function refresh() {
if (model.WinIdList) {
waylandItem.uuid = model.WinIdList[0];
}
}
TaskManager.ScreencastingRequest {
id: waylandItem
2022-05-11 21:28:13 +00:00
uuid: ""
}
}