surface: Mark surface as dirty from attach_solid()

As weston_surface_attach_solid() can change quite a lot about a surface,
we need to mark it as dirty.

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone 2026-02-23 13:48:14 +00:00 committed by Marius Vlad
parent d46135705e
commit d532ac0452

View file

@ -3135,6 +3135,10 @@ weston_surface_attach_solid(struct weston_surface *surface,
surface->is_opaque = false;
pixman_region32_init(&surface->opaque);
}
surface->pending.status |=
WESTON_SURFACE_DIRTY_BUFFER | WESTON_SURFACE_DIRTY_BUFFER_PARAMS |
WESTON_SURFACE_DIRTY_SIZE;
}
WL_EXPORT void