Update for spawn_desktop_exec that calls SpawnTransientUnit

Allows `xdg-desktop-portal` to get app id from PID.

Also updates calls to `cosmic::process::spawn` to spawn in future.
This commit is contained in:
Ian Douglas Scott 2024-07-25 10:21:46 -07:00 committed by Ian Douglas Scott
parent b0e4e6fc6d
commit 293a91e8b1
11 changed files with 76 additions and 119 deletions

View file

@ -107,6 +107,7 @@ pub enum WaylandUpdate {
Output(OutputUpdate),
ActivationToken {
token: Option<String>,
app_id: Option<String>,
exec: String,
gpu_idx: Option<usize>,
},