From d837628b4ca58b4de85c27dbf815decadd4a0903 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 7 Dec 2025 00:31:04 +0900 Subject: internal/system: remove ineffectual join reverting wayland Removing the pathname socket used to be handled separately, now it is done during the Close call. Signed-off-by: Ophestra --- internal/system/dispatcher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/system/dispatcher.go') diff --git a/internal/system/dispatcher.go b/internal/system/dispatcher.go index 656487dd..1641c3ed 100644 --- a/internal/system/dispatcher.go +++ b/internal/system/dispatcher.go @@ -47,7 +47,7 @@ type syscallDispatcher interface { // aclUpdate provides [acl.Update]. aclUpdate(name string, uid int, perms ...acl.Perm) error - waylandNew(displayPath, bindPath *check.Absolute, appID, instanceID string) (*wayland.SecurityContext, error) + waylandNew(displayPath, bindPath *check.Absolute, appID, instanceID string) (io.Closer, error) // xcbChangeHosts provides [xcb.ChangeHosts]. xcbChangeHosts(mode xcb.HostMode, family xcb.Family, address string) error @@ -80,7 +80,7 @@ func (k direct) aclUpdate(name string, uid int, perms ...acl.Perm) error { return acl.Update(name, uid, perms...) } -func (k direct) waylandNew(displayPath, bindPath *check.Absolute, appID, instanceID string) (*wayland.SecurityContext, error) { +func (k direct) waylandNew(displayPath, bindPath *check.Absolute, appID, instanceID string) (io.Closer, error) { return wayland.New(displayPath, bindPath, appID, instanceID) } -- cgit v1.3.1