diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-25 18:51:03 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-25 18:51:03 +0000 |
| commit | 595b32ddf99d40fa5c51f7b3e0696a27cc6adb28 (patch) | |
| tree | 7e7a2d303312bcc335c2404dec6d406a5d2e5776 /render.h | |
| parent | wayland: decoration-configure: call render_resize() to add/remove CSDs (diff) | |
render: render_resize_*() returns a boolean indicating whether size changed.
Diffstat (limited to 'render.h')
| -rw-r--r-- | render.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ #pragma once +#include <stdbool.h> #include "terminal.h" #include "fdm.h" @@ -8,8 +9,8 @@ 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); |
