aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-05-02 14:34:33 +1200
committerScott Anderson <ascent12@hotmail.com>2017-05-02 14:34:33 +1200
commite9d716fc0c294849b627b35f6ea15f60fbdeb522 (patch)
tree4545b6e6c52d0c8346f52147863501d8ac2f3e30 /include
parent115d4ae637673e348d5542740a158e6dcee0cf80 (diff)
Changed display to use list_t.
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/backend.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/backend/drm/backend.h b/include/backend/drm/backend.h
index 25a42c37..87471fbb 100644
--- a/include/backend/drm/backend.h
+++ b/include/backend/drm/backend.h
@@ -8,6 +8,8 @@
#include <libudev.h>
#include <wayland-server.h>
+#include <wlr/common/list.h>
+
#include "session.h"
#include "udev.h"
#include "event.h"
@@ -30,8 +32,7 @@ struct wlr_drm_backend {
struct wl_signal display_render;
} signals;
- size_t display_len;
- struct wlr_drm_display *displays;
+ list_t *displays;
uint32_t taken_crtcs;