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;