From 0b265cc9a5f222769e0a4e80bc360380501694bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 24 Feb 2020 22:40:02 +0100 Subject: [PATCH] render: csd: sort geometry entries --- render.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/render.c b/render.c index 3e7f57b1..bc054046 100644 --- a/render.c +++ b/render.c @@ -664,15 +664,15 @@ render_csd(struct terminal *term) { LOG_INFO("rendering CSD"); - const int border_width = 2 * term->scale; + const int border_width = 1 * term->scale; const int title_height = 20 * term->scale; const int geom[5][4] = { {0, -title_height, term->width, title_height}, - {-border_width, -title_height - border_width, term->width + 2 * border_width, border_width}, - {-border_width, -title_height - border_width, border_width, term->height + title_height + 2 * border_width}, - {term->width, -title_height - border_width, border_width, term->height + title_height + 2 * border_width}, - {-border_width, term->height, term->width + 2 * border_width, border_width}, + {-border_width, -title_height - border_width, border_width, term->height + title_height + 2 * border_width}, /* left */ + {term->width, -title_height - border_width, border_width, term->height + title_height + 2 * border_width}, /* right */ + {-border_width, -title_height - border_width, term->width + 2 * border_width, border_width}, /* top */ + {-border_width, term->height, term->width + 2 * border_width, border_width}, /* bottom */ }; for (size_t i = 0; i < 5; i++) {