summaryrefslogtreecommitdiff
path: root/src/wayland/buffer.c
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-12 15:14:41 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-12 15:14:41 +0300
commit4145406fae437dce2f0af6e078e35566634f2c19 (patch)
tree689e3ab0e0033fc47be0b2d590b864692c936dcc /src/wayland/buffer.c
parent5d1eaf3beffd3653fc4c26b0557c77026bbd6bfc (diff)
perf: unify platform-independent state, branchless queue masking and native handle caching
Diffstat (limited to 'src/wayland/buffer.c')
-rw-r--r--src/wayland/buffer.c2
1 files changed, 2 insertions, 0 deletions
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);