aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authorHeghedus Razvan <heghedus.razvan@gmail.com>2017-10-19 16:48:00 +0300
committerHeghedus Razvan <heghedus.razvan@gmail.com>2017-10-20 11:46:03 +0300
commitc03e7746367194b859125624b059c1725eb7ae30 (patch)
treec1fe69a46dfe2e198a8d75946839c6fa8813a50b /include/backend/drm
parentbde25fe020d17bdfe2033e2fd86827f447b1f28b (diff)
Replace list_t with wl_list in wlr_drm_backend
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/drm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 6106a85a..0f19c01e 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -8,12 +8,12 @@
#include <xf86drmMode.h>
#include <EGL/egl.h>
#include <gbm.h>
+#include <wayland-util.h>
#include <wlr/backend/session.h>
#include <wlr/backend/drm.h>
#include <wlr/types/wlr_output.h>
#include <wlr/egl.h>
-#include <wlr/util/list.h>
#include "iface.h"
#include "properties.h"
@@ -93,7 +93,7 @@ struct wlr_drm_backend {
struct wl_listener session_signal;
struct wl_listener drm_invalidated;
- list_t *outputs;
+ struct wl_list outputs;
struct wlr_drm_renderer renderer;
struct wlr_session *session;
@@ -130,6 +130,7 @@ struct wlr_drm_connector {
bool pageflip_pending;
struct wl_event_source *retry_pageflip;
+ struct wl_list link;
};
bool wlr_drm_check_features(struct wlr_drm_backend *drm);