aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/wayland/wayland-client-helper.c
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-15 23:20:03 +0900
committerOphestra <cat@gensokyo.uk>2025-11-15 23:25:46 +0900
commitfe40af7b7e95356b7d88e35941097edc9700f093 (patch)
treed04ddc46f4cf053e51156e1c08cdeaf16dd2a2fa /internal/wayland/wayland-client-helper.c
parent12751932d1cbfc911a75445061d87264b927de5f (diff)
internal/wayland: relocate connection struct
This interface is getting replaced, so relocating it to the deprecated wrapper package before working on its replacement. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/wayland/wayland-client-helper.c')
-rw-r--r--internal/wayland/wayland-client-helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/wayland/wayland-client-helper.c b/internal/wayland/wayland-client-helper.c
index a6a824b5..ccfbaf6c 100644
--- a/internal/wayland/wayland-client-helper.c
+++ b/internal/wayland/wayland-client-helper.c
@@ -36,7 +36,7 @@ hakurei_wayland_res hakurei_bind_wayland_fd(
int fd,
const char *app_id,
const char *instance_id,
- int sync_fd) {
+ int close_fd) {
hakurei_wayland_res res = HAKUREI_WAYLAND_SUCCESS; /* see wayland.go for handling */
struct wl_display *display = NULL;
@@ -88,7 +88,7 @@ hakurei_wayland_res hakurei_bind_wayland_fd(
goto out;
}
- security_context = wp_security_context_manager_v1_create_listener(security_context_manager, listen_fd, sync_fd);
+ security_context = wp_security_context_manager_v1_create_listener(security_context_manager, listen_fd, close_fd);
if (security_context == NULL) { /* not reached */
res = HAKUREI_WAYLAND_NOT_AVAIL;
goto out;