diff options
| author | salmonik <salmonik@tuta.io> | 2026-08-19 18:46:35 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-08-19 18:46:35 +0200 |
| commit | 09a44f15678f27dd3d07f90e9ed0e71cf0e771ff (patch) | |
| tree | e9942dd03df3eb16b5b261cb6b0e129390593ef6 /tools/boot-image.sh | |
| parent | vt → per-instance Terminal rendering into a pixel buffer (diff) | |
| download | rs-dos-09a44f15678f27dd3d07f90e9ed0e71cf0e771ff.tar.gz rs-dos-09a44f15678f27dd3d07f90e9ed0e71cf0e771ff.zip | |
wm: integrate home terminal as window 0 + fix console focus after close
- wm rewrite: chrome flag per window, create_home_window for the
console (window 0, chrome-less, bottom-pinned, never closed),
composite_rect fills desktop background then blits windows bottom-to-top,
draw_window_intersect handles chrome-less windows, hit_test returns
Content for chrome-less, destroy/move_window no-op for id 0.
- vt: add window_params() so main.rs can wire the Terminal to wm window 0.
- main.rs: create home terminal window 0 and attach Terminal after wm::init().
- Focus fix: focus(0) now stores CONSOLE sentinel (not raw 0) so
focused() returns None when the home terminal has focus. Without this,
closing a GUI window left FOCUSED=0, which tty::poll_key() interpreted
as 'a GUI app has focus', spinning forever and swallowing all keyboard
input.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
