diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-24 11:26:54 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-24 11:51:32 -0300 |
| commit | 3baad4850b25a250649ab4928365b5c3d20f03df (patch) | |
| tree | b30d8c1bfd50e2fb07c223e93dc4e0bbe26f0717 /dev/vaxis_input.zig | |
| parent | 0252c830daf6184a9faefa32a7d1f384f5a86b94 (diff) | |
| download | pardes-3baad4850b25a250649ab4928365b5c3d20f03df.tar.gz pardes-3baad4850b25a250649ab4928365b5c3d20f03df.zip | |
test/daemon.py --client-motion (FAILING on main, the hunt's first cause of "resizing feels very slow with several clients", 2026-11-24): a run of pointer motions over a client window is one input a pass, as the session's own window takes it, not an input each: on main 300 motions written at once to a window client's test feed were 305 inputs to its session and 382 units to a terminal client watching (each stepped by the session, sent to every client, replayed and drawn again by each); the cause is the client window's wait (dev/gui/gui.zig Client.wait, 1301-1308: every SDL event dispatched and fed at once, no motion coalesced) and, on the session's own window once a client is attached, Shell.split (gui.zig 2469-2483) checked before the coalescing loop of waitInput (2738-2761): the second queued motion is held for the next wait, so every raw motion is its own pump, frame and unit (a real window's: 1652 motions in 0.35 s were 1655 frames of the session over the next second, and an idle client window drew 1453 frames); run by --window-clients too, and alone by --client-motion
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev/vaxis_input.zig')
0 files changed, 0 insertions, 0 deletions
