From 0893d632e242553390d968751fff0e880627c34a Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 06:24:42 -0300 Subject: kinds #12, ABI 2.1: pardes_addon.h grows at the ends of its records (pa_api's heap, view, exec and select, pa_paint's rail thumb, pa_ops's search, PA_WHEEL_LEFT and RIGHT) and the core reads them only from a 2.1 head: Esc goes to a 2.1 kind first, a press's drag and release stay its own and the pointer leaving is told, tick comes again on a view change, a kind's search rows, place, Exec and selection are taped, the jobs a call asks are emitted on every core from its taped outcome, a Shadow lays its tag out from the authority's prefix and keeps its tick state when it joins, a view's raster is its frontend's, and fake.c and snake.c leave Esc to the core Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- addons/image/image.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'addons/image') diff --git a/addons/image/image.c b/addons/image/image.c index f7a228c8..1aa34428 100644 --- a/addons/image/image.c +++ b/addons/image/image.c @@ -131,10 +131,12 @@ static uint32_t dump(void *st, uint8_t *buf, uint32_t n) { return im->len; } +/* On a state with no picture (a Restore's), the record's; one open made + * from the file as it is now (it changed on disk) keeps that one. */ static int load(void *st, const uint8_t *buf, uint32_t n, uint32_t version) { (void)version; if (!st) return 1; - keep(st, buf, n); + if (!((image *)st)->raw) keep(st, buf, n); return PA_OK; } -- cgit v1.3