diff options
author | emersion <contact@emersion.fr> | 2018-01-18 19:47:21 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-18 19:47:21 +0100 |
commit | bde255933eb4cd2bab2d310725ab5de39467b900 (patch) | |
tree | 31bed920da923b9a701eb0e2fb8a66d19f7ecb92 /include/wlr | |
parent | baa17ec7553311af9dbeafec91ad47e62738acde (diff) |
output: add wlr_output::damage, fixes #572
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_output.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 71463cb5..f6a5ac84 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -2,6 +2,7 @@ #define WLR_TYPES_WLR_OUTPUT_H #include <stdbool.h> +#include <pixman.h> #include <wayland-util.h> #include <wayland-server.h> @@ -51,8 +52,8 @@ struct wlr_output { float scale; enum wl_output_subpixel subpixel; enum wl_output_transform transform; - bool needs_swap; + pixman_region32_t damage; float transform_matrix[16]; // Note: some backends may have zero modes |