From 9534d11db23b563484a888c4ada426ab4b4c2bae Mon Sep 17 00:00:00 2001 From: Ry Date: Fri, 18 Oct 2024 23:13:54 -0700 Subject: [PATCH] barclock: Force clock redraw when active window changes --- applications/barclock/main.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/barclock/main.asm b/applications/barclock/main.asm index c86791c..b1f9f51 100644 --- a/applications/barclock/main.asm +++ b/applications/barclock/main.asm @@ -6,6 +6,7 @@ loop: ; redraw the window title if the active window has changed call get_active_window_struct cmp r0, [active_window_struct_ptr] + ifnz mov.8 [second_counter], 0xFF ; force clock redraw ifnz call draw_window_title ; if no time has passed, don't bother redrawing the clock