compositor: Update only existing backgrounds in output_move
This commit is contained in:
@@ -1327,9 +1327,11 @@ wlsc_output_move(struct wlsc_output *output, int x, int y)
|
|||||||
output->x = x;
|
output->x = x;
|
||||||
output->y = y;
|
output->y = y;
|
||||||
|
|
||||||
output->background->x = x;
|
if (output->background) {
|
||||||
output->background->y = y;
|
output->background->x = x;
|
||||||
wlsc_surface_update_matrix(output->background);
|
output->background->y = y;
|
||||||
|
wlsc_surface_update_matrix(output->background);
|
||||||
|
}
|
||||||
|
|
||||||
pixman_region32_init(&output->previous_damage_region);
|
pixman_region32_init(&output->previous_damage_region);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user