mirror of
https://github.com/swaywm/sway.git
synced 2025-11-25 06:59:48 -05:00
Update for wlroots#1660
This commit is contained in:
parent
e3d94cb83e
commit
b6e55064fe
2 changed files with 6 additions and 4 deletions
|
|
@ -1086,7 +1086,8 @@ renderer_end:
|
|||
wlr_output_transform_invert(wlr_output->transform);
|
||||
wlr_region_transform(damage, damage, transform, width, height);
|
||||
|
||||
if (!wlr_output_damage_swap_buffers(output->damage, when, damage)) {
|
||||
wlr_output_set_damage(wlr_output, damage);
|
||||
if (!wlr_output_commit(wlr_output)) {
|
||||
return;
|
||||
}
|
||||
output->last_frame = *when;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue