From 7ac76cfee76b73a25365a98f2543d1d87f5bdee4 Mon Sep 17 00:00:00 2001 From: locture Date: Thu, 27 Apr 2023 21:57:10 +0000 Subject: [PATCH] Update 'render.c' --- render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/render.c b/render.c index 3e18156b..340e0378 100644 --- a/render.c +++ b/render.c @@ -2096,8 +2096,8 @@ render_csd_button_minimize(struct terminal *term, struct buffer *buf) pixman_color_t color = get_csd_button_fg_color(term->conf); pixman_image_t *src = pixman_image_create_solid_fill(&color); - const int max_height = buf->height / 2; - const int max_width = buf->width / 2; + const int max_height = buf->height / 3; + const int max_width = buf->width / 3; int width = min(max_height, max_width); int thick = min(width / 2, 1 * term->scale);