mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 02:28:08 +02:00
screen-share: Copy the damage region instead of intersecting it
The region has already been intersected with the output's region before it was passed to us. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
631b60b38b
commit
d68ee26ff5
1 changed files with 1 additions and 1 deletions
|
|
@ -854,7 +854,7 @@ shared_output_repainted(struct wl_listener *listener, void *data)
|
|||
} else {
|
||||
/* Damage in output coordinates */
|
||||
pixman_region32_init(&damage);
|
||||
pixman_region32_intersect(&damage, &so->output->region, current_damage);
|
||||
pixman_region32_copy(&damage, current_damage);
|
||||
pixman_region32_translate(&damage, -so->output->x, -so->output->y);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue