mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 06:08:05 +02:00
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:
parent
d46135705e
commit
d532ac0452
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue