Merge pull request #2094 from emersion/damage-schedule

Schedule a frame even if damage is empty
master
emersion 7 years ago committed by GitHub
commit fb932cf847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1066,6 +1066,8 @@ static void damage_surface_iterator(struct wlr_surface *surface, int sx, int sy,
wlr_box_rotated_bounds(&box, rotation, &box); wlr_box_rotated_bounds(&box, rotation, &box);
wlr_output_damage_add_box(output->damage, &box); wlr_output_damage_add_box(output->damage, &box);
} }
wlr_output_schedule_frame(output->wlr_output);
} }
void output_damage_surface(struct sway_output *output, double ox, double oy, void output_damage_surface(struct sway_output *output, double ox, double oy,

Loading…
Cancel
Save