ReviewOS

also looking at this

craft-native/craft

feat(window): --frame-autosave, so windows come back where they were

#56
Merged glennmichael123 wants to merge feat/window-frame-autosave into main
8 files +181 -0

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

packages/zig/src/main.zigmodified+4-0
Changes to packages/zig/src/main.zig
@@ -104,6 +104,10 @@ pub const WindowStyle = if (builtin.os.tag == .macos) macos.WindowStyle else str
104104 web_sidebar_width: u32 = 286,
105105 web_sidebar_material_opacity: f64 = 0.78,
106106 benchmark: bool = false,
107 /// Accepted so `minimal.zig` can pass one `WindowStyle` on every platform,
108 /// and ignored: remembering a window frame is `setFrameAutosaveName:`, an
109 /// AppKit facility with no counterpart wired up on GTK or Win32 yet.
110 frame_autosave: ?[]const u8 = null,
107111};
108112
109113pub const Window = struct {