diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-07-16 06:28:21 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-07-18 03:48:01 +0000 |
| commit | 829353a5dad410ce9b6b1ca78f9d86beedc3a90e (patch) | |
| tree | 6c70ec64609524a231ac41a30fe3ddd8662d834e /terminal.h | |
| parent | term: (debug): dpi_aware is no longer an enum (diff) | |
term: font_dpi_changed: scale (and old_scale) are floating point
This should fix an issue where the font size wasn’t updated when
moving the window between outputs whose scaling factors match when
truncated.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -739,7 +739,7 @@ bool term_paste_data_to_slave( bool term_font_size_increase(struct terminal *term); bool term_font_size_decrease(struct terminal *term); bool term_font_size_reset(struct terminal *term); -bool term_font_dpi_changed(struct terminal *term, int old_scale); +bool term_font_dpi_changed(struct terminal *term, float old_scale); void term_font_subpixel_changed(struct terminal *term); int term_pt_or_px_as_pixels( |
