Changed display to use list_t.

This commit is contained in:
Scott Anderson 2017-05-02 14:34:33 +12:00
parent 115d4ae637
commit e9d716fc0c
3 changed files with 57 additions and 34 deletions

View file

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