From 091fcee4edcb695e6bf8c2db6052f5ea1c836c7b Mon Sep 17 00:00:00 2001 From: Peterino2 Date: Sat, 19 Sep 2026 13:55:05 -0700 Subject: [PATCH] fixes after big api changes --- src/linux/native.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux/native.zig b/src/linux/native.zig index 50b1979..c52cc94 100644 --- a/src/linux/native.zig +++ b/src/linux/native.zig @@ -86,7 +86,7 @@ var wake_fd: std.atomic.Value(c_int) = .init(-1); pub fn backend(handle: ?*n.uhdk_session) u32 { if (handle == null) return n.UHDK_BACKEND_AUTO; const app = runtime.fromAppHandle(handle); - return if (app.has_run) n.UHDK_BACKEND_WAYLAND else n.UHDK_BACKEND_AUTO; + return if (app.native_started) n.UHDK_BACKEND_WAYLAND else n.UHDK_BACKEND_AUTO; } pub fn capability(handle: ?*n.uhdk_session, cap: u32) n.uhdk_bool { if (handle == null) return 0;