From 76751355e02b492d48a1a6764051b95723c994b7 Mon Sep 17 00:00:00 2001 From: napcok Date: Wed, 6 May 2026 21:43:03 +0000 Subject: [PATCH] Update src/systray/systraybar.c https://pastebin.com/UxDTv4ML --- src/systray/systraybar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/systray/systraybar.c b/src/systray/systraybar.c index 2a9fafe..5eb5c6f 100644 --- a/src/systray/systraybar.c +++ b/src/systray/systraybar.c @@ -292,9 +292,10 @@ void on_change_systray(void *obj) } TrayWindow *traywin; - GSList *l; + GSList *l, *next; int i; - for (i = 1, l = systray.list_icons; l; i++, l = l->next) { + for (i = 1, l = systray.list_icons; l; i++, l = next) { + next = l->next; traywin = (TrayWindow *)l->data; traywin->y = posy;