mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-25 13:14:13 -04:00
opt: optimize text draw for hidpi
This commit is contained in:
parent
b0e054bf5d
commit
24af062672
3 changed files with 8 additions and 3 deletions
|
|
@ -6876,7 +6876,8 @@ void updatetitle(struct wl_listener *listener, void *data) {
|
|||
|
||||
const char *title;
|
||||
title = client_get_title(c);
|
||||
mango_group_bar_update(c->group_bar, title, 1.0);
|
||||
mango_group_bar_update(c->group_bar, title,
|
||||
c->mon ? c->mon->wlr_output->scale : 1.0f);
|
||||
if (title && c->foreign_toplevel)
|
||||
wlr_foreign_toplevel_handle_v1_set_title(c->foreign_toplevel, title);
|
||||
if (title && c->ext_foreign_toplevel) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue