aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/share.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-17 13:24:17 +0900
committerOphestra <cat@gensokyo.uk>2025-02-17 13:24:17 +0900
commit3ae2ab652e9cd1d6250dbde8ae0f9b9fe90afc72 (patch)
tree52b0cf50658f4a7ea8606db3174d4f250e6a3cad /internal/app/share.go
parentdb71fbe22bea41e92b9a037a2b608a3350097f5f (diff)
system/wayland: sync file at caller specified address
Storing this in sys is incredibly ugly: sys should be stateless and Ops must keep track of their state. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/share.go')
-rw-r--r--internal/app/share.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/app/share.go b/internal/app/share.go
index 1862fb2b..beed4f0e 100644
--- a/internal/app/share.go
+++ b/internal/app/share.go
@@ -163,7 +163,7 @@ func (seal *appSeal) setupShares(bus [2]*dbus.Config, os linux.System) error {
// use instance ID in case app id is not set
appID = "uk.gensokyo.fortify." + seal.id
}
- seal.sys.Wayland(outerPath, socketPath, appID, seal.id)
+ seal.sys.Wayland(&seal.sys.sp, outerPath, socketPath, appID, seal.id)
seal.sys.bwrap.Bind(outerPath, innerPath)
} else { // bind mount wayland socket (insecure)
fmsg.Verbose("direct wayland access, PROCEED WITH CAUTION")