feat(tray): 添加 tray 相关接口并融入现有启动流程

This commit is contained in:
2026-06-27 22:52:19 +08:00
parent eaad539a0b
commit 27aab6f0e9
4 changed files with 43 additions and 3 deletions

View File

@@ -774,7 +774,8 @@ void backend_scan_result_destroy(backend_scan_result_t *result) {
backend_bar_window_t backend_create_bar_window(
backend_t *backend,
rect_t geometry,
uint32_t bg_pixel
uint32_t bg_pixel,
bool enable_tray
) {
auto conn = backend->conn;
auto root = backend->screen->root;