summaryrefslogtreecommitdiff
path: root/src/gui/gui.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 01:57:51 -0300
committerGabriel Schneider <[email protected]>2026-11-05 09:54:55 -0300
commit534f7da02ac58e475bb24801d315d7b736bd9c38 (patch)
treecaa7636616c1bbc8d170ec14a2140ec77b6e6ad4 /src/gui/gui.zig
parentae975128f8b723d86f2daee3d23168adce21905c (diff)
downloadpardes-534f7da02ac58e475bb24801d315d7b736bd9c38.tar.gz
pardes-534f7da02ac58e475bb24801d315d7b736bd9c38.zip
after the merge: the window's frame probe follows a Restore's new core (it pointed into the freed old one, so every frame after a Restore wrote freed memory); ov_pinch_scale and ov_touch_scroll_delta go (nothing wrote them once the pinch and touch_scroll events went; the Debug box loses its two dead rows, topbarexec and windowops regenerated alone and re-run); the perf baselines are named tui, as the frontend is (the perf gate had looked for perf-baseline-tui-*.json and found the tty-named files)
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/gui/gui.zig')
-rw-r--r--src/gui/gui.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig
index 9b9a08d1..a5b7f34a 100644
--- a/src/gui/gui.zig
+++ b/src/gui/gui.zig
@@ -2166,6 +2166,7 @@ fn localSession(
nc.windowed = true;
core.deinit();
core = nc;
+ frame_probe = &nc.frames; // the old core's ring went with it
g.hit_core = nc;
shell.core = nc;
shell.surface = null;