From 8cfa4bfd8cd596a48d2afea441f297f2519008fd Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Sun, 16 Aug 2026 15:18:04 +0200 Subject: [PATCH] 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 --- apps/gui/quickscreen.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c index 535ba23409..af42df6e65 100644 --- a/apps/gui/quickscreen.c +++ b/apps/gui/quickscreen.c @@ -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);