diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-12-07 22:33:45 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-12-07 22:34:40 +0900 |
| commit | 1931b5460034b63dcb1c89bd0c8825a751829f45 (patch) | |
| tree | 9132bd77d9b4bb128c7604232483d278e592b86f /internal/outcome | |
| parent | 093e30c78872a5d8605de4b2a3aeb35abca63835 (diff) | |
hst: add pipewire flag
These are for #26. None of them are implemented yet. This fixes up test cases for the change to happen. Existing source code and JSON configuration continue to have the same effect. Existing flags get its EPulse bit replaced by EPipeWire.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/outcome')
| -rw-r--r-- | internal/outcome/outcome.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/outcome/outcome.go b/internal/outcome/outcome.go index e2563550..3252db9c 100644 --- a/internal/outcome/outcome.go +++ b/internal/outcome/outcome.go @@ -172,6 +172,8 @@ type outcomeStateSys struct { // Copied from [hst.Config]. Safe for read by spWaylandOp.toSystem only. directWayland bool + // Copied from [hst.Config]. Safe for read by spPulseOp.toSystem only. + directPulse bool // Copied header from [hst.Config]. Safe for read by spFilesystemOp.toSystem only. extraPerms []hst.ExtraPermConfig // Copied address from [hst.Config]. Safe for read by spDBusOp.toSystem only. @@ -185,7 +187,8 @@ type outcomeStateSys struct { func (s *outcomeState) newSys(config *hst.Config, sys *system.I) *outcomeStateSys { return &outcomeStateSys{ appId: config.ID, et: config.Enablements.Unwrap(), - directWayland: config.DirectWayland, extraPerms: config.ExtraPerms, + directWayland: config.DirectWayland, directPulse: config.DirectPulse, + extraPerms: config.ExtraPerms, sessionBus: config.SessionBus, systemBus: config.SystemBus, sys: sys, outcomeState: s, } |
