aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-05 14:28:55 +0100
committeremersion <contact@emersion.fr>2018-05-05 14:28:55 +0100
commit5087199d5d2e7c2768ac4610a7721bac8071f0fd (patch)
tree0833c1ebaa573152c9a86ea654c30369cdac7a8d /include/wlr
parenta3fd284876b2d2e12101fc912c012936a04df198 (diff)
output-damage: limit the number of damaged rectangles
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output_damage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output_damage.h b/include/wlr/types/wlr_output_damage.h
index beba2f6c..a4333c1a 100644
--- a/include/wlr/types/wlr_output_damage.h
+++ b/include/wlr/types/wlr_output_damage.h
@@ -23,6 +23,7 @@
*/
struct wlr_output_damage {
struct wlr_output *output;
+ int max_rects; // max number of damaged rectangles
pixman_region32_t current; // in output-local coordinates