portal: include mapping_id in screencasts
This commit is contained in:
parent
edafe16742
commit
5df018046c
5 changed files with 31 additions and 5 deletions
|
|
@ -100,6 +100,7 @@ impl PortalSession {
|
|||
&self,
|
||||
pw_node_id: Option<u32>,
|
||||
restore_data: Option<Variant<'static>>,
|
||||
mapping_id: Option<&str>,
|
||||
) {
|
||||
let inner_type = DynamicType::DictEntry(
|
||||
Box::new(DynamicType::String),
|
||||
|
|
@ -133,6 +134,12 @@ impl PortalSession {
|
|||
value: rd,
|
||||
});
|
||||
}
|
||||
if let Some(mapping_id) = mapping_id {
|
||||
variants.push(DictEntry {
|
||||
key: "mapping_id".into(),
|
||||
value: Variant::String(mapping_id.into()),
|
||||
});
|
||||
}
|
||||
if let Some(reply) = self.start_reply.take() {
|
||||
match reply {
|
||||
PortalSessionReply::RemoteDesktop(reply) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue