From bde255933eb4cd2bab2d310725ab5de39467b900 Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 18 Jan 2018 19:47:21 +0100 Subject: output: add wlr_output::damage, fixes #572 --- include/wlr/types/wlr_output.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/wlr') 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 +#include #include #include @@ -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 -- cgit v1.2.3