output_damage: listen to transform and scale output events

This commit is contained in:
emersion 2018-02-11 13:07:00 +01:00
parent 5a8f098eea
commit a9632341bf
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 22 additions and 0 deletions

View file

@ -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;
};