diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-21 09:10:24 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-21 09:10:24 -0300 |
| commit | c4f7bb9477c7aa4c8864f14edb9e85b6c8c08437 (patch) | |
| tree | 9b60bce9e53f96855b40f2ba53e23945a7798ddf /dev/gui/gui.zig | |
| parent | f7de6f49ee3d9ac241575f5244743193c9943841 (diff) | |
| parent | 5ad6067936f306271b875aaf182d4866055da10d (diff) | |
| download | pardes-c4f7bb9477c7aa4c8864f14edb9e85b6c8c08437.tar.gz pardes-c4f7bb9477c7aa4c8864f14edb9e85b6c8c08437.zip | |
integration: the pair's round 5 and the layers' round 2 on the gathered line: pardes-pair-5 (`ssrtxkzx`, on pardes-merge48: a link an Upgrade cuts with no last word asks the daemon whether its session is listed still and joins again (`replica.cutListed`): an upgrade from the installed build carries its clients; a no-daemon pair refuses Restore in words (P42); /dev/tty opened before the pair forks; a TERMed or hung-up client dies of the signal; the process suite as pairs 13 to 8 of 145) and pardes-layers-2 (`myxnnquu`, on pardes-merge49: the click on path@rev tested, a revision read-only from 9P, Syntax off in a patch keeps the patch's colours); no conflict; core-test 893/1053 (160 skipped), shell-test 1095/1098; its gate: .scratch/sketch/reorg/merge50, the numbers in PARDES.md (2026-11-21)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev/gui/gui.zig')
| -rw-r--r-- | dev/gui/gui.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev/gui/gui.zig b/dev/gui/gui.zig index d779cf47..aa28a3f0 100644 --- a/dev/gui/gui.zig +++ b/dev/gui/gui.zig @@ -808,7 +808,9 @@ fn runNative(init: std.process.Init, opts_in: pardes.Options, detached: bool, di var want_w: c_int = 1120; var want_h: c_int = 720; var want_at: ?[2]c_int = null; - if (opts_in.geometry) |spec| geometry: { + // ...or the size an Upgrade's exec says its window had (client.zig + // `execAgain`). + if (opts_in.geometry orelse if (std.c.getenv("PARDES_JOIN_SIZE")) |e| std.mem.span(e) else null) |spec| geometry: { const x_at = std.mem.indexOfScalar(u8, spec, 'x') orelse break :geometry; const plus = std.mem.indexOfAnyPos(u8, spec, x_at, "+-") orelse spec.len; want_w = std.math.clamp(std.fmt.parseInt(c_int, spec[0..x_at], 10) catch break :geometry, 200, 16384); |
