quickscreen: update SBS after each button press

Quickscreen will ignore update_delay so that the SBS
is updated after each button press, without any lag.

The SBS may display settings that are adjusted by the
Quickscreen (e.g. cabbiev2's Shuffle and Repeat icons,
or the brightness slider included in themes like
Adwaitapod and Themify).

Change-Id: I28716e81cb77e235eb009bff91c96f510365f435
This commit is contained in:
Christian Soffke 2026-08-16 15:18:04 +02:00
parent be62759005
commit 8cfa4bfd8c

View file

@ -416,14 +416,10 @@ static void quickscreen_run(struct quickscreen * qs)
}
else if (button == qs->button_enter)
can_quit = true;
else if (button == ACTION_QS_VOLUP) {
else if (button == ACTION_QS_VOLUP)
adjust_volume(1);
sb_skin_force_next_update();
}
else if (button == ACTION_QS_VOLDOWN) {
else if (button == ACTION_QS_VOLDOWN)
adjust_volume(-1);
sb_skin_force_next_update();
}
else if (button == ACTION_STD_CONTEXT)
{
qs->result |= QUICKSCREEN_GOTO_SHORTCUTS_MENU;
@ -434,6 +430,10 @@ static void quickscreen_run(struct quickscreen * qs)
if (button == ACTION_STD_CANCEL)
break;
/* Ignore SBS update_delay, so that setting
changes are immediately visible. */
sb_skin_force_next_update();
}
/* Notify that we're exiting this screen */
cond_talk_ids_fq(VOICE_OK);