diff options
author | Simon Ser <contact@emersion.fr> | 2020-03-12 13:08:57 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-03-12 22:47:59 +0100 |
commit | e0bbafc253fc69cd9f0e6629cf33c5d247cc9978 (patch) | |
tree | fb68e16dde577d0de88027d19d6fd9dbae4e9354 /include/wlr/util/log.h | |
parent | 07737e85cc21731ff562c2fc9f4092a246414d4e (diff) |
output: replace wlr_output.damage with a damage event
This patch disambiguates the needs_frame event by uncoupling it from
damage. A new separate damage event is emitted when the backend damages
the output (this happens e.g. VT is changed or software cursors are
used). The event specifies the damaged region.
The wlr_output.damage field is removed. wlr_output is no longer
responsible for tracking its own damage, this is wlr_output_damage's
job.
This is a breaking change, but wlr_output_damage users shouldn't need an
update.
Bugs fixed:
- Screen flashes on VT switch
- Cursor damage issues on the X11 and headless backends
Closes: https://github.com/swaywm/sway/issues/5086
Diffstat (limited to 'include/wlr/util/log.h')
0 files changed, 0 insertions, 0 deletions