aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/system/dispatcher.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/system/dispatcher.go')
-rw-r--r--internal/system/dispatcher.go4
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)
}