From 69bf62d3e245934b922025c62d8703700521cac0 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 18 Nov 2026 11:52:57 -0300 Subject: kinds: the Shadow path deleted (the session painting a pane of a kind for each client and sending its frames, the rasters as strips, the client's picture cache): no kind in the tree reached it but a test's since the PDF and the picture run where they are shown (PA_PLAIN); a kind that is not plain shows a line in a client saying it runs in the session alone, its keys and mouse still the session's; Kind.zig 1,743 -> 1,367 lines (the Shadow section, Slot.shadow, draw's Shadow branch, the three Shadow tests), replica.zig 4,579 -> 4,477 (Screens.shadows and the kind_shadow/kind_raster/kind_want messages, PeerOf.shadow, Replica.blobs; Screens.flush keeps its view argument, unread now), the Counter kind's test rewritten for the line, draw.zig's pointer from the Shadow, dump.zig's comments; the manual (running.typ) and next-run.md say what a client shows; net -472 lines; tui core-test 817/956 (139 skipped; the three Shadow tests gone), shell-test 991/994, behaviour-test 274/274, --replay 20 seeds 0 failures, pane-test 181/182, replicas pass, addon-test 1/1, process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's), test/daemon.py, --games and --window-clients pass, --far timed out once at load 10-12 (the ssh client's first frame) and passed alone; gui unit-test 1586/1590 (its perf check's BaselineBuildMismatch, the base's), the frame corpus 77/77 against mbase2 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- src/draw.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/draw.zig') diff --git a/src/draw.zig b/src/draw.zig index 10556ac9..187f2f4e 100644 --- a/src/draw.zig +++ b/src/draw.zig @@ -263,7 +263,7 @@ pub fn render(p: *Pardes, arena: std.mem.Allocator) !*Surface { // Over a kind's pane, the pointer its last frame asked for (a PDF's // hand over a link; 2.2). if (v.kind_hover) |id| if (p.panes[id]) |pane| if (pane.addon) |k| { - if ((if (k.shadow) |sh| sh.pointer else k.pointer) == pardes.Kind.c.PA_POINTER_LINK) s.pointer_shape = .link; + if (k.pointer == pardes.Kind.c.PA_POINTER_LINK) s.pointer_shape = .link; }; for (&s.body_layers) |*layer| layer.rows = 0; for (&s.tag_layers) |*layer| layer.rows = 0; -- cgit v1.3