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);