From 4145406fae437dce2f0af6e078e35566634f2c19 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Mon, 12 Oct 2026 15:14:41 +0300 Subject: perf: unify platform-independent state, branchless queue masking and native handle caching --- src/wayland/buffer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wayland/buffer.c') diff --git a/src/wayland/buffer.c b/src/wayland/buffer.c index 4cddfa5..142f85f 100644 --- a/src/wayland/buffer.c +++ b/src/wayland/buffer.c @@ -174,6 +174,8 @@ int apply_pending_geometry(struct wayland_surface *w) w->scale_factor = (double)w->scale_120 / YASL_SCALE_UNIT; w->width = width; w->height = height; + w->base.size = (struct yasl_vector2i){width, height}; + w->base.scale_120 = w->scale_120; w->logical_width = logical_w; w->logical_height = logical_h; surface_update_opaque_region(w); -- cgit v1.2.3