summaryrefslogtreecommitdiff
path: root/src/draw.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 17:44:54 -0300
committerGabriel Schneider <[email protected]>2026-11-18 17:44:54 -0300
commit41f665c986886790e474bef78928f4b0d3b05c21 (patch)
treefe14dc9afdbcc36e42fbdcb17e7257083dda9d98 /src/draw.zig
parente3e9a2d35ded6b668c2bb668845bb39d86e0412b (diff)
parentf3a38a45c00eb02f0aaaca7185e5601ab7224913 (diff)
downloadpardes-41f665c986886790e474bef78928f4b0d3b05c21.tar.gz
pardes-41f665c986886790e474bef78928f4b0d3b05c21.zip
integration: addons in a client part 4 (the scroll bench's clock, a view laid out as the active one, the Shadow path deleted, address P:H on a late joiner) with the client path's round 4 and Zig 0.17.1: no conflict; on Zig 0.17.1: replicas with five clients: diverged 0, unequal 0, deltas checked/wrong 1782/0, 1769/0, 1871/0, quiet checks 582/0, 773/0, 791/0; tui core-test 819/960 (141 skipped), shell-test 995/998, behaviour-test 274/274 and its replay 20 seeds with 0 failures, pane-test 183/184; gui frame corpus 77/77 Debug and ReleaseFast against mbase171, unit-test 1592/1596, the tui build has no SDL symbol; the perf window, each of its three runs now the gated tree's: corpus2x -0.096% (spread 0.19%), corpus-snake -0.164%: the +0.77% that held this merge was the gate measuring another workspace (the helper that ignored GATE_W)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'src/draw.zig')
-rw-r--r--src/draw.zig2
1 files changed, 1 insertions, 1 deletions
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;