mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-02 00:06:12 -04:00
opt: optimize text draw for hidpi
This commit is contained in:
parent
0824961b81
commit
38393873f3
3 changed files with 8 additions and 3 deletions
|
|
@ -130,7 +130,10 @@ void client_add_group_bar(Client *c) {
|
|||
config.tabdata, 0, 0);
|
||||
wlr_scene_node_lower_to_bottom(&c->group_bar->scene_buffer->node);
|
||||
wlr_scene_node_set_enabled(&c->group_bar->scene_buffer->node, false);
|
||||
mango_group_bar_update(c->group_bar, client_get_title(c), 1.0);
|
||||
mango_group_bar_update(c->group_bar, client_get_title(c),
|
||||
c->mon ? c->mon->wlr_output->scale
|
||||
: selmon ? selmon->wlr_output->scale
|
||||
: 1.0f);
|
||||
}
|
||||
|
||||
void client_focus_group_member(Client *c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue