[amiwm] Don't use global scr for this iteration

The global scr is a bit of an overused thing.  It's definitely not
needed here.  Don't use it here.
This commit is contained in:
Adrian Chadd committed 2022-04-25 19:03:50 -07:00
1 parent 9ac42a9f4a
commit e42512c034
1 file changed
+3
+3
View File
@@ -820,9 +820,12 @@ void internal_broker(XEvent *e)
static void update_clock(void *dontcare)
{
Scrn *scr;
if(server_grabs)
return;
call_out(prefs.titleclockinterval, 0, update_clock, dontcare);
scr = get_front_scr();
do {
redrawmenubar(scr->menubar);