Replace list_t with wl_list in wlr_drm_backend

Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
This commit is contained in:
Heghedus Razvan 2017-10-19 16:48:00 +03:00
parent bde25fe020
commit c03e774636
3 changed files with 49 additions and 55 deletions

View file

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