aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-02-11 13:07:00 +0100
committeremersion <contact@emersion.fr>2018-02-11 13:07:00 +0100
commita9632341bfcb1e0a172d93c4fd331291a842332c (patch)
tree0162715f2f4c8ca489f8417e6c934ef1d990099e /include/wlr
parent5a8f098eea1637213d29a6ec831bcebc11c92aaa (diff)
output_damage: listen to transform and scale output events
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output_damage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output_damage.h b/include/wlr/types/wlr_output_damage.h
index ec5fcd0d..52cbce78 100644
--- a/include/wlr/types/wlr_output_damage.h
+++ b/include/wlr/types/wlr_output_damage.h
@@ -1,7 +1,9 @@
#ifndef WLR_TYPES_WLR_OUTPUT_DAMAGE_H
#define WLR_TYPES_WLR_OUTPUT_DAMAGE_H
+#include <time.h>
#include <pixman.h>
+#include <wlr/types/wlr_output.h>
/**
* Damage tracking requires to keep track of previous frames' damage. To allow
@@ -34,6 +36,8 @@ struct wlr_output_damage {
struct wl_listener output_destroy;
struct wl_listener output_mode;
+ struct wl_listener output_transform;
+ struct wl_listener output_scale;
struct wl_listener output_needs_swap;
struct wl_listener output_frame;
};