mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01: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…
Reference in a new issue