diff --git a/src/Window.zig b/src/Window.zig index fe36bf1c4..6a2473cc5 100644 --- a/src/Window.zig +++ b/src/Window.zig @@ -624,8 +624,8 @@ pub inline fn setSize(self: Window, size: Size) void { /// A size with option width/height, used to represent e.g. constraints on a windows size while /// allowing specific axis to be unconstrained (null) if desired. pub const SizeOptional = struct { - width: ?u32, - height: ?u32, + width: ?u32 = null, + height: ?u32 = null, }; /// Sets the size limits of the specified window's content area.