aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-18 14:06:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-18 14:06:37 +0000
commite6d1e0cc27133b335f0e0f361f361bd56f599a96 (patch)
tree7591d8ff9ec946abe9e2513d5b7313742427e3c8 /terminal.h
parentthemes: add chiba-dark theme (diff)
parentpgo: add stub for wayl_fractional_scaling() (diff)
Merge branch 'scale-is-floating-point'
Closes #1404
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 6dace7ac..4b1d1d0d 100644
--- a/terminal.h
+++ b/terminal.h
@@ -736,10 +736,11 @@ bool term_to_slave(struct terminal *term, const void *data, size_t len);
bool term_paste_data_to_slave(
struct terminal *term, const void *data, size_t len);
+bool term_update_scale(struct terminal *term);
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(