aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-09-24 20:08:50 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-09-24 20:08:50 +0000
commitebbac832365ffbdbcd16ebebc0b39f7739d52531 (patch)
treecbc4d68c8517e73a35f1b4567d8af49b9998586c /wayland.c
parentdoc: foot.ini: remove stray double quote character (diff)
parentterm: 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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wayland.c b/wayland.c
index 911694ff..49c8ed92 100644
--- a/wayland.c
+++ b/wayland.c
@@ -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);