WEFT_OS/docs
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
..
upstream Add WEFT architecture and interface design documents 2026-03-10 18:47:10 +01:00
architecture.md fix(compositor): restore focus when a window closes and keep later windows from taking it 2026-10-09 15:42:42 +00:00
building.md fix(compositor): own stacking and focus, and activate app windows on request 2026-10-09 15:36:55 +00:00
security.md fix(compositor): restore focus when a window closes and keep later windows from taking it 2026-10-09 15:42:42 +00:00