aboutsummaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'render.h')
-rw-r--r--render.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/render.h b/render.h
index 3bd52fa5..99246f17 100644
--- a/render.h
+++ b/render.h
@@ -1,4 +1,5 @@
#pragma once
+#include <stdbool.h>
#include "terminal.h"
#include "fdm.h"
@@ -8,15 +9,15 @@ struct renderer;
struct renderer *render_init(struct fdm *fdm, struct wayland *wayl);
void render_destroy(struct renderer *renderer);
-void render_resize(struct terminal *term, int width, int height);
-void render_resize_force(struct terminal *term, int width, int height);
+bool render_resize(struct terminal *term, int width, int height);
+bool render_resize_force(struct terminal *term, int width, int height);
void render_set_title(struct terminal *term, const char *title);
void render_refresh(struct terminal *term);
+void render_refresh_csd(struct terminal *term);
+void render_refresh_search(struct terminal *term);
bool render_xcursor_set(struct terminal *term);
-void render_search_box(struct terminal *term);
-
struct render_worker_context {
int my_id;
struct terminal *term;