Skip to content

Commit

Permalink
Use icon caching for system tray. (#2238)
Browse files Browse the repository at this point in the history
  • Loading branch information
brycerocky authored Mar 10, 2024
1 parent cb4bfaa commit bc0a478
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/system_tray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ namespace system_tray {
{ .text = "Restart", .cb = tray_restart_cb },
{ .text = "Quit", .cb = tray_quit_cb },
{ .text = nullptr } },
.iconPathCount = 4,
.allIconPaths = { TRAY_ICON, TRAY_ICON_LOCKED, TRAY_ICON_PLAYING, TRAY_ICON_PAUSING },
};

/**
Expand Down
2 changes: 1 addition & 1 deletion third-party/tray
Submodule tray updated 2 files
+2 −0 tray.h
+92 −17 tray_windows.c

0 comments on commit bc0a478

Please sign in to comment.