scene: resize damage ring on geometry update

master
Kirill Primak 4 months ago committed by Alexander Orzechowski
parent bfcaa4bc44
commit cf93d31736

@ -1508,6 +1508,10 @@ static void scene_node_output_update(struct wlr_scene_node *node,
static void scene_output_update_geometry(struct wlr_scene_output *scene_output,
bool force_update) {
int ring_width, ring_height;
wlr_output_transformed_resolution(scene_output->output, &ring_width, &ring_height);
wlr_damage_ring_set_bounds(&scene_output->damage_ring, ring_width, ring_height);
scene_output_damage_whole(scene_output);
scene_node_output_update(&scene_output->scene->tree.node,

Loading…
Cancel
Save