diff options
Diffstat (limited to 'src/wayland/buffer.c')
| -rw-r--r-- | src/wayland/buffer.c | 2 |
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); |
