diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/output.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index d72bf1b2..7ccaa09c 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -3,6 +3,7 @@ | |||
3 | #include <time.h> | 3 | #include <time.h> |
4 | #include <unistd.h> | 4 | #include <unistd.h> |
5 | #include <wayland-server-core.h> | 5 | #include <wayland-server-core.h> |
6 | #include <wlr/types/wlr_damage_ring.h> | ||
6 | #include <wlr/types/wlr_output.h> | 7 | #include <wlr/types/wlr_output.h> |
7 | #include "config.h" | 8 | #include "config.h" |
8 | #include "sway/tree/node.h" | 9 | #include "sway/tree/node.h" |
@@ -26,7 +27,7 @@ struct sway_output { | |||
26 | struct wlr_box usable_area; | 27 | struct wlr_box usable_area; |
27 | 28 | ||
28 | struct timespec last_frame; | 29 | struct timespec last_frame; |
29 | struct wlr_output_damage *damage; | 30 | struct wlr_damage_ring damage_ring; |
30 | 31 | ||
31 | int lx, ly; // layout coords | 32 | int lx, ly; // layout coords |
32 | int width, height; // transformed buffer size | 33 | int width, height; // transformed buffer size |
@@ -44,8 +45,9 @@ struct sway_output { | |||
44 | struct wl_listener commit; | 45 | struct wl_listener commit; |
45 | struct wl_listener mode; | 46 | struct wl_listener mode; |
46 | struct wl_listener present; | 47 | struct wl_listener present; |
47 | struct wl_listener damage_destroy; | 48 | struct wl_listener damage; |
48 | struct wl_listener damage_frame; | 49 | struct wl_listener frame; |
50 | struct wl_listener needs_frame; | ||
49 | 51 | ||
50 | struct { | 52 | struct { |
51 | struct wl_signal disable; | 53 | struct wl_signal disable; |