libweston: damage moved outputs

When an output is moved, all views that are not moving with it should
cause damage where they appear in it before and after the move, and all
prior damage should move with the output.
To avoid this complexity, just damage the full output after the move.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
Philipp Zabel 2023-04-04 16:33:04 +02:00 committed by Daniel Stone
parent 51f377b813
commit 6083a613e6

View file

@ -6478,6 +6478,7 @@ weston_output_set_position(struct weston_output *output,
return;
weston_output_init_geometry(output, pos);
weston_output_damage(output);
weston_output_update_matrix(output);