diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-09-24 20:08:50 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-09-24 20:08:50 +0000 |
| commit | ebbac832365ffbdbcd16ebebc0b39f7739d52531 (patch) | |
| tree | cbc4d68c8517e73a35f1b4567d8af49b9998586c /wayland.c | |
| parent | doc: foot.ini: remove stray double quote character (diff) | |
| parent | term: only scale using DPI if *all* monitors have a scaling factor or one (diff) | |
Merge branch 'non-dpi-aware-if-any-output-uses-scaling'
Diffstat (limited to 'wayland.c')
| -rw-r--r-- | wayland.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -340,6 +340,11 @@ update_terms_on_monitor(struct monitor *mon) tll_foreach(wayl->terms, it) { struct terminal *term = it->item; + if (term->conf->dpi_aware == DPI_AWARE_AUTO) { + update_term_for_output_change(term); + continue; + } + tll_foreach(term->window->on_outputs, it2) { if (it2->item == mon) { update_term_for_output_change(term); |
