From af2873987ff20d86d7d587f005c2897e90a6f18f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 29 Sep 2020 10:08:59 +0200 Subject: [PATCH] render: remove render_refresh_margins() --- render.c | 6 ------ render.h | 1 - terminal.h | 2 -- 3 files changed, 9 deletions(-) diff --git a/render.c b/render.c index 86f028f7..210eaf47 100644 --- a/render.c +++ b/render.c @@ -2385,12 +2385,6 @@ render_refresh(struct terminal *term) term->render.refresh.grid = true; } -void -render_refresh_margins(struct terminal *term) -{ - term->render.refresh.margins = true; -} - void render_refresh_csd(struct terminal *term) { diff --git a/render.h b/render.h index 3f8cf540..05c79322 100644 --- a/render.h +++ b/render.h @@ -13,7 +13,6 @@ bool render_resize(struct terminal *term, int width, int height); bool render_resize_force(struct terminal *term, int width, int height); void render_refresh(struct terminal *term); -void render_refresh_margins(struct terminal *term); void render_refresh_csd(struct terminal *term); void render_refresh_search(struct terminal *term); void render_refresh_title(struct terminal *term); diff --git a/terminal.h b/terminal.h index 13339c3b..60a4aba4 100644 --- a/terminal.h +++ b/terminal.h @@ -373,7 +373,6 @@ struct terminal { /* Scheduled for rendering, as soon-as-possible */ struct { bool grid; - bool margins; bool csd; bool search; bool title; @@ -382,7 +381,6 @@ struct terminal { /* Scheduled for rendering, in the next frame callback */ struct { bool grid; - bool margins; bool csd; bool search; bool title;