mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-22 01:40:17 -05:00
render: render_resize_*() returns a boolean indicating whether size changed.
This commit is contained in:
parent
a4d77608b9
commit
595b32ddf9
2 changed files with 12 additions and 9 deletions
5
render.h
5
render.h
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue