From 9a44e45785d853c3c52090005d5976daef0f2aed Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 5 Nov 2022 17:45:21 -0700 Subject: [PATCH] bug: assume focused on launch --- src/Window.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Window.zig b/src/Window.zig index d9c864372..8ac499a35 100644 --- a/src/Window.zig +++ b/src/Window.zig @@ -394,7 +394,7 @@ pub fn create(alloc: Allocator, loop: libuv.Loop, config: *const Config) !*Windo .renderer_thread = render_thread, .renderer_state = .{ .mutex = mutex, - .focused = false, + .focused = true, .resize_screen = screen_size, .cursor = .{ .style = .blinking_block,