WEFT_OS/crates/weft-compositor
Marco Allegretti 65c02231a0
fix(compositor): restore focus when a window closes and keep later windows from taking it
When the focused window closed, keys went to a dead surface until the
next click; the topmost remaining application window, or the panel,
now gets focus. Only a session's first window takes focus when it
maps, so a client cannot take keystrokes meant for another application
by creating windows. A panel is fitted and kept beneath however the
shell orders its requests, and focusing the panel clears the
applications' activated state. ACTIVATE_APP is refused while the
compositor is not connected rather than queued.

check_activation.py now also ends the focused application and checks
that keys reach the remaining one.
2026-10-09 15:42:42 +00:00
..
src fix(compositor): restore focus when a window closes and keep later windows from taking it 2026-10-09 15:42:42 +00:00
Cargo.toml fix(compositor): bind each app session's Wayland client to its session through appd 2026-10-09 15:07:33 +00:00