opt: allow tab height to 0

This commit is contained in:
DreamMaoMao 2026-06-18 23:35:25 +08:00
parent 0cc6badc6d
commit 23a67ba4e6
4 changed files with 29 additions and 15 deletions

View file

@ -105,6 +105,11 @@ void client_add_jump_label_node(Client *c) {
}
void client_add_tab_bar_node(Client *c) {
if (config.tab_bar_height <= 0) {
return;
}
MangoNodeData *mangonodedata = ecalloc(1, sizeof(MangoNodeData));
mangonodedata->node_data = c;
mangonodedata->type = MANGO_TITLE_NODE;