diff --git a/async/async.zig b/async/async.zig index 43336f3..4685996 100644 --- a/async/async.zig +++ b/async/async.zig @@ -177,7 +177,7 @@ pub const AsyncThread = struct { } pub fn main(allocator: std.mem.Allocator, comptime mainFunc: fn () anyerror!void) !void { - try xev.detect(); + if (xev.dynamic) try xev.detect(); var thread_pool = XevThreadPool.init(.{}); defer { thread_pool.shutdown();