summaryrefslogtreecommitdiff
path: root/src/Event.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Event.zig')
-rw-r--r--src/Event.zig13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/Event.zig b/src/Event.zig
index cc359974..6b2bb8a2 100644
--- a/src/Event.zig
+++ b/src/Event.zig
@@ -146,4 +146,15 @@ pub const Event = union(enum) {
};
/// A view's frontend: what a client of a session elsewhere says it is.
-pub const Frontend = struct { windowed: bool, native_images: bool = false, native_image_patches: bool = false };
+pub const Frontend = struct {
+ windowed: bool,
+ native_images: bool = false,
+ /// The shell can take a changed image a few rows at a time (a texture
+ /// row upload, a shared-memory hand-off), so a PDF selection is
+ /// repainted as it is dragged instead of once on release. Each
+ /// process's own: in no digest and no dump (Pardes.replica.local was
+ /// where it said so).
+ native_image_patches: bool = false,
+
+ pub const replica = .{ .local = .{"native_image_patches"} };
+};