mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
output: clear output->damage on successful commit
This commit is contained in:
parent
107a1789ea
commit
03346cb28f
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue