From 3ae2ab652e9cd1d6250dbde8ae0f9b9fe90afc72 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 17 Feb 2025 13:24:17 +0900 Subject: 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 --- internal/app/share.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/app/share.go') 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") -- cgit v1.3.1