fix(servo-shell): pass app_id from LAUNCH_ACK to taskbar entry

system-ui.html: LAUNCH_ACK handler now passes msg.app_id to
ensureTaskbarEntry so the taskbar label shows the app name
immediately on launch, matching the behaviour of RUNNING_APPS.
This commit is contained in:
Marco Allegretti 2026-03-11 10:46:54 +01:00
parent b5bf2e538a
commit 35db7c2ccc

View file

@ -212,7 +212,7 @@
ensureTaskbarEntry(s.session_id, s.app_id); ensureTaskbarEntry(s.session_id, s.app_id);
}); });
} else if (msg.type === 'LAUNCH_ACK') { } else if (msg.type === 'LAUNCH_ACK') {
ensureTaskbarEntry(msg.session_id, null); ensureTaskbarEntry(msg.session_id, msg.app_id || null);
} }
} }