expo: Enable the mouse when available

When creating a new bootflow menu or cedit, enable the mouse, so the
user can interact with the expo more easily.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-09-15 03:47:58 -06:00
parent bcf7b403e8
commit 4eb8f8319a
2 changed files with 4 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ int bootflow_menu_new(struct expo **expp)
return log_msg_ret("exp", ret);
expo_req_size(exp, 1366, 768);
expo_set_mouse_enable(exp, true);
ret = scene_new(exp, "main", MAIN, &scn);
if (ret < 0)
return log_msg_ret("scn", ret);

View File

@@ -243,6 +243,8 @@ int cedit_run(struct expo *exp)
return log_msg_ret("prep", ret);
scene_id = ret;
expo_set_mouse_enable(exp, true);
exp->done = false;
exp->save = false;
do {