summaryrefslogtreecommitdiff
path: root/core/Core.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Core.zig')
-rw-r--r--core/Core.zig8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/Core.zig b/core/Core.zig
index 95f3a3a8..e718149e 100644
--- a/core/Core.zig
+++ b/core/Core.zig
@@ -153,7 +153,13 @@ pub const View = struct {
/// Whether the host window has the keyboard (Event.focus), and the pane
/// whose program was last told it has it (reportFocus).
window_focused: bool = true,
- focus_told: ?struct { id: usize, serial: u32 } = null,
+ focus_told: ?struct {
+ // A slot of the session's, looked at before it is used, as
+ // `active` is (a damaged image's indexed past the panes).
+ pub const replica = .{ .index = .{.{ "id", Pardes, "panes" }} };
+ id: usize,
+ serial: u32,
+ } = null,
hover_col: u16 = 0,
hover_row: u16 = 0,
pointer_raw_col: u16 = 0,