aboutsummaryrefslogtreecommitdiffhomepage
path: root/wl/wl.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-25 01:33:37 +0900
committerOphestra <cat@gensokyo.uk>2025-03-25 01:33:37 +0900
commite732dca7629edb503df0c65df5f37a99600d567d (patch)
treeb1473ef0f0a7c7d4806a0048ff8fe56a3e769915 /wl/wl.go
parenta9adcd914b73f7cb0c3ade1a0c23c4596ac5a95d (diff)
wl: fix sync pipe keepalive
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'wl/wl.go')
-rw-r--r--wl/wl.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/wl/wl.go b/wl/wl.go
index 51ad1fd2..f75f063d 100644
--- a/wl/wl.go
+++ b/wl/wl.go
@@ -25,11 +25,11 @@ var resErr = [...]error{
2: errors.New("wp_security_context_v1 not available"),
}
-func bindWaylandFd(socketPath string, fd uintptr, appID, instanceID string, syncFD uintptr) error {
+func bindWaylandFd(socketPath string, fd uintptr, appID, instanceID string, syncFd uintptr) error {
if hasNull(appID) || hasNull(instanceID) {
return ErrContainsNull
}
- res := C.f_bind_wayland_fd(C.CString(socketPath), C.int(fd), C.CString(appID), C.CString(instanceID), C.int(syncFD))
+ res := C.f_bind_wayland_fd(C.CString(socketPath), C.int(fd), C.CString(appID), C.CString(instanceID), C.int(syncFd))
return resErr[int32(res)]
}