This commit is contained in:
Rakarake 2026-01-27 15:59:58 +01:00
parent 3311810666
commit 0f1b028fca
3 changed files with 28 additions and 1 deletions

View file

@ -58,6 +58,7 @@ struct event {
/// EVENT_DRAW
struct {
int width, height;
struct surface *surface;
} draw;
} data;
};
@ -66,4 +67,5 @@ void wayland_init(struct client_state *state, int output_type);
void commit(struct client_state *state);
/// Provide pointer to be filled.
struct event wait_for_event(struct client_state *state);
void swap_buffers(struct client_state *state, struct surface *surface);