aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index dc637e26..15df4efd 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -2,13 +2,13 @@
#define WLR_TYPES_WLR_OUTPUT_H
#include <wayland-server.h>
-#include <wlr/util/list.h>
#include <stdbool.h>
struct wlr_output_mode {
uint32_t flags; // enum wl_output_mode
int32_t width, height;
int32_t refresh; // mHz
+ struct wl_list link;
};
struct wlr_output_impl;
@@ -32,7 +32,7 @@ struct wlr_output {
float transform_matrix[16];
/* Note: some backends may have zero modes */
- list_t *modes;
+ struct wl_list modes;
struct wlr_output_mode *current_mode;
struct {