diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-18 14:21:38 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-18 23:45:30 -0300 |
| commit | 382abe3dafb872b3e6c9792a9cc0abcf6267e180 (patch) | |
| tree | e30f47d911561db9b02e714287a1658822c77a09 /src/macos | |
| parent | c24a9e40215bc30c68c9db7675f1c6a07d9bbae3 (diff) | |
| download | pardes-382abe3dafb872b3e6c9792a9cc0abcf6267e180.tar.gz pardes-382abe3dafb872b3e6c9792a9cc0abcf6267e180.zip | |
file_watch + builtins + config: richer watch semantics, new builtins, config docs
Diffstat (limited to 'src/macos')
| -rw-r--r-- | src/macos/pardes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/macos/pardes.h b/src/macos/pardes.h index a506423d..33bedc9e 100644 --- a/src/macos/pardes.h +++ b/src/macos/pardes.h @@ -276,10 +276,10 @@ void pardes_mouse(pardes_mouse_button_e button, pardes_mouse_kind_e kind, // same event: it would keep hover previews and resize hints alive off-window. void pardes_pointer_leave(void); -// Host file watchers call this after their debounce interval. `generation` -// comes from pardes_host_watch_file and makes an event queued before a pane -// replacement inert. The callback only schedules the ordinary main-thread -// pump; file IO and the shared text/PDF reload happen inside pardes_tick. +// Host file watchers call this after their debounce interval. `pane` is the +// opaque watch slot (including pardes' private ThemeFile slot), and `generation` +// makes events queued before a replacement inert. The callback only schedules +// the ordinary main-thread pump; text, PDF, and theme IO happen in pardes_tick. void pardes_watch_changed(uint8_t pane, uint32_t generation); // Trackpad/precision wheel distance in CELLS, sign following the grid |
