output: clear output->damage on successful commit

This commit is contained in:
Ilia Bozhinov 2019-05-13 14:07:00 +02:00 committed by Simon Ser
parent 107a1789ea
commit 03346cb28f

View file

@ -470,6 +470,7 @@ bool wlr_output_commit(struct wlr_output *output) {
output->frame_pending = true;
output->needs_frame = false;
output_state_clear(&output->pending);
pixman_region32_clear(&output->damage);
return true;
}