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