From 846c9db0c38896ce2a0ce65f3a02332d6354bc0b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 15 Oct 2022 10:43:39 -0700 Subject: [PATCH] get rid of stage2 workaround for now --- src/Window.zig | 10 +--------- vendor/mach | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/Window.zig b/src/Window.zig index 11c8ec9e4..5053e7457 100644 --- a/src/Window.zig +++ b/src/Window.zig @@ -381,15 +381,7 @@ pub fn create(alloc: Allocator, loop: libuv.Loop, config: *const Config) !*Windo try window.setSizeLimits(.{ .width = @floatToInt(u32, grid.cell_size.width * 10), .height = @floatToInt(u32, grid.cell_size.height * 4), - }, switch (builtin.zig_backend) { - .stage1 => .{ .width = null, .height = null }, - - // https://github.com/hexops/mach/issues/581 - else => .{ - .width = 100000, - .height = 100000, - }, - }); + }, .{ .width = null, .height = null }); // Create our pty var pty = try Pty.open(.{ diff --git a/vendor/mach b/vendor/mach index 609bc8545..393cd4632 160000 --- a/vendor/mach +++ b/vendor/mach @@ -1 +1 @@ -Subproject commit 609bc8545019afea2cd72a2b01f3cb9ef9a622ca +Subproject commit 393cd463284fb74ef631ccf4b3f866e7753f1219