From 98f0d51157fa2a2b8ccaae54ed4850a88d223d01 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Tue, 13 Oct 2026 15:05:06 +0300 Subject: Simplify surface state, examples, and library installation --- src/common/backend.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/common/backend.h') diff --git a/src/common/backend.h b/src/common/backend.h index 37fa167..17d781e 100644 --- a/src/common/backend.h +++ b/src/common/backend.h @@ -22,7 +22,7 @@ struct yasl_surface { void *native_handle; struct yasl_vector2i size; uint32_t scale_120; - uint32_t state; + uint32_t state; /* Authoritative YASL_STATE_* bitmask, maintained by the backend. */ uint32_t bg_color; struct yasl_window_cbs callbacks; void *ud; @@ -72,7 +72,6 @@ struct yasl_backend_ops { bool (*surface_present)(struct yasl_surface *s, const struct yasl_framebuffer *fb, const struct yasl_damage_list *damage); bool (*surface_input_poll)(struct yasl_surface *s, struct yasl_input_event *ev); struct yasl_geometry (*surface_geometry)(const struct yasl_surface *s); - uint32_t (*surface_state)(const struct yasl_surface *s); struct yasl_timing (*surface_timing)(const struct yasl_surface *s); uint64_t (*surface_frame_time_ns)(struct yasl_surface *s, uint64_t now); void (*surface_set_cursor)(struct yasl_surface *s, enum yasl_cursor cursor); -- cgit v1.2.3