mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-15 11:08:57 +00:00
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:
parent
51f377b813
commit
6083a613e6
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue