From 9763ce285771e46b67e86429799f6a454c86de4f Mon Sep 17 00:00:00 2001 From: Joshua Holmes Date: Thu, 10 Oct 2024 19:27:54 -0700 Subject: [PATCH] core: fix wayland window size conflict --- src/core/linux/Wayland.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/linux/Wayland.zig b/src/core/linux/Wayland.zig index aa1030a2..23d70354 100644 --- a/src/core/linux/Wayland.zig +++ b/src/core/linux/Wayland.zig @@ -130,8 +130,8 @@ pub fn init( region, 0, 0, - @intCast(options.size.width), - @intCast(options.size.height), + @intCast(wl.size.width), + @intCast(wl.size.height), ); c.wl_surface_set_opaque_region(wl.surface, region); c.wl_region_destroy(region);