Skip to content

Commit

Permalink
barclock: Force clock redraw when active window changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ry755 committed Oct 19, 2024
1 parent 4f380bc commit 9534d11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions applications/barclock/main.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9534d11

Please sign in to comment.