Vendor kryon diffs the global pointer position during borderless-
window drags instead of accumulating motion events (pointer batching
ate the last step), baselines the drag at the true press position
(the first step was lost between press and the first pump frame), and
captures the mouse for the drag duration. The desktop window-mode
suite now asserts the HUD lands within 2px of the exact drag path.
The title-bar close button did nothing: SDL2 delivers the close
request as SDL_WINDOWEVENT_CLOSE and raylib's SDL backend only
latches SDL_QUIT. The main loop now consumes the close request
kryon's window pump records (StealUICoreWindowClose) and runs the
normal close flow, so every mode works again: ask prompts, keep-
running hides to the tray, quit exits.
raylib also asks SDL for mouse capture at window creation; the
resulting active pointer grab on the main window swallowed every
click and drag aimed at the break HUD. The grab is released right
after InitWindow.
Adds scripts/test-desktop-windows.sh (make test-desktop-windows):
end-to-end coverage on a private Xvfb display for the window-close
matrix (startup, keep-running, ask+quit, ask+keep-running) and
break-HUD dragging.
Vendor kryon brings the close bridge, SDL-path drag support and the
StealUICoreWindowClose API.
Vendor kryon forward to master, which now carries the canvas Tier A
backend (HTML5 Canvas2D through EM_JS: no libraylib.web.a, no GLFW, no
WebGL). make web-canvas compiles the same generated app sources with
kryon's src tree + canvas_backend.c under emcc (-sASYNCIFY so the
while-loop frame pacing survives, -fexceptions for the set_main_loop
unwind) and preloads locales and assets.
Sync-account crypto and audio are not carried in this target:
scripts/ksync-canvas-shim.c reports sync unavailable (the app runs
local-only) and kryon's canvas audio is null-grade. The host page
(web-assets/canvas_index.html) drives requestAnimationFrame from timers
because embedded webviews suspend RAF while timers keep running.
Verified in a real browser: full boot, storage, fonts, icons, theming,
tinting, and input all render on the canvas backend.
Smoke test:
- Clear error when global WebSocket is missing (Node < 21) instead of a
cryptic ReferenceError; Node 20 works with --experimental-websocket.
- New render-liveness check in both the CDP and Firefox BiDi paths: the
page must have a nonzero-size canvas, a live WebGL context, and a
cycling requestAnimationFrame loop -- catches 'boots to a black
screen' that console-error checks cannot see. Verified PASS locally
in both chromium and firefox.
- CI: the Firefox job now installs the Mozilla build (tarball; Ubuntu's
apt firefox is a snap wrapper that fails in containers) and runs
make web-smoke-test-firefox after the add-on build.
Makefile:
- KRYON_WITH_PHYSICS := 0 (was ?=): the app is UI-only; flipping the
knob to 1 cannot work anyway because KRYON_PHYSICS_DEPS (libbox2d) is
never linked, so it is a property, not a configuration.
- KRYON_CURL_VERSION_HEX is lazy now: := forced the curlver
preprocessor shell at parse time on every invocation including
'make clean'. Its only consumer is the NEEDS_NATIVE_ENV version
guard, which expands it only for build goals.
- Added android-copy-debug-apks/-release-apks/-copy-bundle/android-smoke
to .PHONY.
Raylib-config dedup vs kryon common.mk was considered and skipped:
inbe cannot include common.mk just for RAY_RAYLIB_CONFIG because it
defines kryon build targets; a flags-only include would be a kryon-side
change, out of housekeeping scope.
When the web app does not become healthy the smoke test now reports
whether the emscripten Module loaded, whether the runtime reached
__inbeRuntimeReady, the last Module.setStatus text, and any
Runtime.exceptionThrown events. This distinguishes a preRun/IDBFS
deadlock from a silent wasm abort and points at the failing stage
instead of an empty recent= field.