diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-26 15:32:33 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:38:23 +0000 |
| commit | 0bdb6580bd5f470ca82e771c70a8f7cd4f5a0240 (patch) | |
| tree | cee858a5fa9e885a9c59d46b129ba9954f379992 | |
| parent | wayland: surface_scale(): implement fractional scaling (diff) | |
wayland: update terminal when preferred scaling factor changes
When the window’s preferred scaling factor is changed (through the
fractional-scaling protocol), update the terminal; resize font, resize
sub-surfaces etc.
| -rw-r--r-- | wayland.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1526,7 +1526,9 @@ static void fractional_scale_preferred_scale( { struct wl_window *win = data; win->scale = (float)scale / 120.; + LOG_DBG("fractional scale: %.3f", win->scale); + update_term_for_output_change(win->term); } static const struct wp_fractional_scale_v1_listener fractional_scale_listener = { |
