fix: 将 client 的 instance 和 class 属性也无作为任务标题备选项

This commit is contained in:
2026-03-03 00:22:39 +08:00
parent 94d3be12ec
commit ab3d441928

View File

@@ -262,6 +262,8 @@ void client_manage(xcb_window_t window,
char **client_get_task_title(client_t *client) {
if (client->net_name) return &client->net_name;
if (client->name) return &client->name;
if (client->instance) return &client->instance;
if (client->class) return &client->class;
return nullptr;
}