mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-11-22 08:13:59 +00:00
TERMINATE_APP, which the taskbar sends, killed the session's processes at once, so an application had no chance to finish, for example to save. A running session is now asked to close through the compositor (AppCloseRequest, which sends xdg_toplevel close to its windows) and the app shell is given five seconds to exit by itself before what remains is terminated. The stop reason records whether the app closed or was terminated after the timeout. TERMINATE_APP replies stopping and the session stays registered until it settles; a starting session is stopped at once, and appd shutting down terminates sessions without a close. check_counter.py requires the compositor to ask the session's window to close and the app shell to exit with status 0 on the close; a unit test requires an app that ignores the close to be terminated after the timeout and not before. |
||
|---|---|---|
| .. | ||
| upstream | ||
| architecture.md | ||
| building.md | ||
| security.md | ||