fix(tray): 修复 tray_init 中初始化状态不完全导致 bar 计算布局时走文本测量的 bug
This commit is contained in:
@@ -294,6 +294,8 @@ void tray_init(
|
||||
|
||||
tray->enabled = true;
|
||||
tray->initialized = true;
|
||||
tray->host_window = host_window;
|
||||
tray->icon_size = host_height;
|
||||
|
||||
tray_broadcast_manager(tray, backend);
|
||||
xcb_flush(backend->conn);
|
||||
|
||||
Reference in New Issue
Block a user