diff options
Diffstat (limited to 'core/Handover.zig')
| -rw-r--r-- | core/Handover.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Handover.zig b/core/Handover.zig index bcf42c31..dde31f8b 100644 --- a/core/Handover.zig +++ b/core/Handover.zig @@ -165,7 +165,7 @@ pub fn finish(h: *Handover, p: *Pardes, seq: u32, to: []const u8, failure: ?[]co const pane = p.panes[id].?; if (pane.file == null or pane.file.?.revision != revision) { // Out of its group, or the owner's close would take it along. - pane.attached_to = null; + pane.docked_to = null; kept += 1; continue; } @@ -277,7 +277,7 @@ pub fn adopt(p: *Pardes, bytes: []const u8) !usize { for (st.owners, 0..) |owner, k| { const at = owner orelse continue; if (at >= n) continue; - p.panes[slots[k]].?.attached_to = p.panes[slots[at]].?.serial; + p.panes[slots[k]].?.docked_to = p.panes[slots[at]].?.serial; } const tc = layout.targetColumn(p, x); var heights: [MAX_PANES]u16 = @splat(0); |
