From b3b2768cc82105fa2a1845b7a7a3767c51173afb Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 29 Oct 2026 18:39:54 -0300 Subject: docs/next-daemon.md: phase 4's gates and perf (every cell inside its A/A), and what is not done; ponytail marks for the shortcuts left (a paste shared by every terminal, a second window's hit test, one display density per process) Co-Authored-By: Claude Opus 5.5 --- src/gui/gui.zig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/gui/gui.zig') diff --git a/src/gui/gui.zig b/src/gui/gui.zig index 2d9124cc..a342cfe2 100644 --- a/src/gui/gui.zig +++ b/src/gui/gui.zig @@ -2333,6 +2333,9 @@ fn reopenWindow(g: *Gui) bool { g.window = window; if (g.window_slot) |slot| slot.* = window; updateDisplayScale(window); + // ponytail: another view's window asks the hit test of whichever + // window's share the Gui holds then (the workspace tag sits in the same + // place in every view); a test per window if one moves it. if (!g.capture) _ = c.SDL_SetWindowHitTest(window, hitTest, g); _ = c.SDL_StartTextInput(window); return true; @@ -9604,7 +9607,9 @@ fn rulePx(chrome: *const pardes.Chrome) f32 { /// by which every size given in logical pixels is drawn, as acme scales its /// Border, ButtonBorder and Scrollgap (scalesize). Cells, glyphs and what is /// measured in them are already the display's pixels and are not scaled. -/// ponytail: one window per process, so one global; per window if ever two. +/// ponytail: one per process: a session's windows (views.zig) on screens +/// of two densities draw at the density of the last one opened or moved; +/// a field of `window_fields` when that matters. var display_scale: f32 = 1; /// The window's display scale, or PARDES_TEST_SCALE (a harness forcing 2x); -- cgit v1.3