From 083193838b0dd0e9f4ae53fb7f032b634dc2a3be Mon Sep 17 00:00:00 2001 From: cocotyty Date: Wed, 23 Feb 2022 05:02:53 +0800 Subject: [PATCH] Update systray_linux.c (#200) Support setting the title on Linux. Co-authored-by: Seth Wright --- systray_linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/systray_linux.c b/systray_linux.c index 8ec3e76..5fe8a94 100644 --- a/systray_linux.c +++ b/systray_linux.c @@ -222,6 +222,7 @@ void setIcon(const char* iconBytes, int length, bool template) { } void setTitle(char* ctitle) { + app_indicator_set_title(global_app_indicator, ctitle); app_indicator_set_label(global_app_indicator, ctitle, ""); free(ctitle); }