aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-24 18:33:16 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-24 18:33:16 +0000
commitf1336a09020333ff7e0970492da184c5a3e304fa (patch)
treec6b582166142db589baf1d31c85cf435ebcd42fc /wayland.c
parentmain: log locale (diff)
parentPKGBUILD: bump tllist+fcft version dependencies (diff)
Merge branch 'fcft-v2'
Diffstat (limited to 'wayland.c')
-rw-r--r--wayland.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wayland.c b/wayland.c
index 06c02313..b0a5cfc3 100644
--- a/wayland.c
+++ b/wayland.c
@@ -146,6 +146,7 @@ update_term_for_output_change(struct terminal *term)
render_resize(term, term->width / term->scale, term->height / term->scale);
term_font_dpi_changed(term);
+ term_font_subpixel_changed(term);
wayl_reload_cursor_theme(term->wl, term);
}
@@ -193,6 +194,7 @@ output_geometry(void *data, struct wl_output *wl_output, int32_t x, int32_t y,
mon->inch = sqrt(pow(mon->dim.mm.width, 2) + pow(mon->dim.mm.height, 2)) * 0.03937008;
mon->make = make != NULL ? strdup(make) : NULL;
mon->model = model != NULL ? strdup(model) : NULL;
+ mon->subpixel = subpixel;
output_update_ppi(mon);
}