From c2451e2a80cd72c17b8c29b51130adaad8dfe31f Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 12 Aug 2019 21:49:17 +0200 Subject: output: track output we're mapped on, and use maximum scale Our surface may be on multiple outputs at the same time. In this case, we use the largest scale factor, and let the compositor down scale on the "other" output(s). --- render.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render.h') diff --git a/render.h b/render.h index 059e03d0..0b7a40ca 100644 --- a/render.h +++ b/render.h @@ -6,7 +6,7 @@ struct font *attrs_to_font( struct terminal *term, const struct attributes *attrs); void grid_render(struct terminal *term); -void render_resize(struct terminal *term, int width, int height, int scale); +void render_resize(struct terminal *term, int width, int height); void render_set_title(struct terminal *term, const char *title); void render_update_cursor_surface(struct terminal *term); void render_refresh(struct terminal *term); -- cgit v1.3