output: clear output->damage on successful commit

master
Ilia Bozhinov 6 years ago committed by Simon Ser
parent 107a1789ea
commit 03346cb28f

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

Loading…
Cancel
Save