opt: allow tab height to 0
Some checks are pending
Sync website / sync-website (push) Waiting to run
Sync wiki / sync-wiki (push) Waiting to run

This commit is contained in:
DreamMaoMao 2026-06-18 23:35:25 +08:00
parent 727b9fe77e
commit 5583f8901a
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;