Skip to content

Commit 0831938

Browse files
cocotytyCrosse
andauthored
Update systray_linux.c (#200)
Support setting the title on Linux. Co-authored-by: Seth Wright <[email protected]>
1 parent 2c0986d commit 0831938

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

systray_linux.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ void setIcon(const char* iconBytes, int length, bool template) {
222222
}
223223

224224
void setTitle(char* ctitle) {
225+
app_indicator_set_title(global_app_indicator, ctitle);
225226
app_indicator_set_label(global_app_indicator, ctitle, "");
226227
free(ctitle);
227228
}

0 commit comments

Comments
 (0)