mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-19 14:33:16 -04:00
opt: tab_bar_decorate and jump_label_decorate config separate
This commit is contained in:
parent
892d1279b6
commit
a5d44d7347
9 changed files with 292 additions and 166 deletions
|
|
@ -400,12 +400,12 @@ void client_draw_shadow(Client *c) {
|
|||
|
||||
void global_draw_titlebar(Client *c, int32_t x, int32_t y, int32_t width,
|
||||
int32_t height) {
|
||||
if (!c->titlebar_node)
|
||||
if (!c->tab_bar_node)
|
||||
return;
|
||||
|
||||
wlr_scene_node_set_position(&c->titlebar_node->scene_buffer->node, x, y);
|
||||
wlr_scene_node_set_enabled(&c->titlebar_node->scene_buffer->node, true);
|
||||
mango_titlebar_node_set_size(c->titlebar_node, width, height);
|
||||
wlr_scene_node_set_position(&c->tab_bar_node->scene_buffer->node, x, y);
|
||||
wlr_scene_node_set_enabled(&c->tab_bar_node->scene_buffer->node, true);
|
||||
mango_tab_bar_node_set_size(c->tab_bar_node, width, height);
|
||||
}
|
||||
|
||||
void apply_split_border(Client *c, bool hit_no_border) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue