ipc: Add pw_node_id to PipeWire Casts

This commit is contained in:
Ivan Molodetskikh
2026-01-14 17:48:30 +03:00
parent e546b339a3
commit 9015ff8e36
4 changed files with 20 additions and 1 deletions
+5
View File
@@ -1509,6 +1509,11 @@ pub struct Cast {
///
/// Currently, only wlr-screencopy screencasts can have a pid.
pub pid: Option<i32>,
/// PipeWire node ID of the screencast stream.
///
/// This is `None` for wlr-screencopy casts, and also for PipeWire casts before the node is
/// created (when the cast is just starting up).
pub pw_node_id: Option<u32>,
}
/// Kind of screencast.