diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-12-07 00:31:04 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-12-07 00:43:50 +0900 |
| commit | d837628b4ca58b4de85c27dbf815decadd4a0903 (patch) | |
| tree | b1a52da7dd65a583e93969117e3fc16fdfba8109 /internal/system/dispatcher.go | |
| parent | 3cb58b4b72ddb9ae1e354b954ae15230c9a49d6d (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/system/dispatcher.go')
| -rw-r--r-- | internal/system/dispatcher.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) } |
