expo: Avoid arranging the scene willy nilly

Moving from one scene to another should not result in the scene being
re-arranged. Drop this, so that tests can have more control of when
scenes are arranged.

Also drop the scene_arrange() call when applying a theme, for the same
reason.

Add the now-required scene_arrange() to cedit and bootmenu

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-05 17:42:42 +02:00
parent f20a1818cf
commit 817db7d12d
4 changed files with 6 additions and 9 deletions

View File

@@ -118,6 +118,9 @@ __maybe_unused static int bootflow_handle_menu(struct bootstd_priv *std,
ret = -ERESTART;
do {
if (ret == -ERESTART) {
ret = expo_arrange(exp);
if (ret)
return log_msg_ret("bha", ret);
ret = expo_render(exp);
if (ret)
return log_msg_ret("bhr", ret);