diff options
author | Simon Ser <contact@emersion.fr> | 2021-01-10 17:07:31 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-16 09:06:27 +0100 |
commit | 1fb9535e995fe97503252b79b255fb85f68d51ae (patch) | |
tree | a34997c27a70cb83900ac6d5f427acff56732630 /include/wlr | |
parent | afdf4dc890d512b4d56796451af5a76a18376c0e (diff) |
output-damage: stop relying on output pending state on commit
References: https://github.com/swaywm/wlroots/issues/2098
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_output_damage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output_damage.h b/include/wlr/types/wlr_output_damage.h index 39d28263..e4b1f862 100644 --- a/include/wlr/types/wlr_output_damage.h +++ b/include/wlr/types/wlr_output_damage.h @@ -42,6 +42,8 @@ struct wlr_output_damage { pixman_region32_t previous[WLR_OUTPUT_DAMAGE_PREVIOUS_LEN]; size_t previous_idx; + enum wlr_output_state_buffer_type pending_buffer_type; + struct { struct wl_signal frame; struct wl_signal destroy; @@ -52,6 +54,7 @@ struct wlr_output_damage { struct wl_listener output_needs_frame; struct wl_listener output_damage; struct wl_listener output_frame; + struct wl_listener output_precommit; struct wl_listener output_commit; }; |