feat: add inherited sessions and desktop session teardown

This commit is contained in:
daniel committed 2026-08-14 10:33:20 +02:00
1 parent f8ded3c30e
commit 0f81276efc
17 files changed
+165

No files matched your search

+5
View File
@@ -895,6 +895,11 @@ static bool existing_desktop_running() {
}
extern "C" void _start() {
// External applications and all of their descendants inherit this stable
// desktop-session ID. login.elf uses it to tear down the complete session
// after Log Out, Shutdown, or Reboot returns control to the supervisor.
montauk::setsession();
if (existing_desktop_running()) {
gui::dialogs::message_box(
"Desktop Already Running",