diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-21 22:07:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-21 22:07:44 -0400 |
commit | e8f92838943920addcb0f80894f4e152eafa5ae4 (patch) | |
tree | c9cd07e837b454ff227fde4d7511a98c805bca27 /include/backend/wayland.h | |
parent | d4e311a1adeee7cfd2a4404d716f3e0237ead607 (diff) | |
parent | 16f35ecbeacd685e7d9905a7867d8c950e369f2e (diff) |
Merge pull request #298 from raazvvann/heghe/wl_list
Replace list_t with wl_list
Diffstat (limited to 'include/backend/wayland.h')
-rw-r--r-- | include/backend/wayland.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 88aeabca..e1c89b11 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -9,7 +9,7 @@ #include <wlr/backend/wayland.h> #include <wlr/types/wlr_output.h> #include <wlr/types/wlr_input_device.h> -#include <wlr/util/list.h> +#include <wayland-util.h> struct wlr_wl_backend { struct wlr_backend backend; @@ -17,8 +17,8 @@ struct wlr_wl_backend { /* local state */ bool started; struct wl_display *local_display; - list_t *devices; - list_t *outputs; + struct wl_list devices; + struct wl_list outputs; struct wlr_egl egl; size_t requested_outputs; /* remote state */ @@ -51,6 +51,7 @@ struct wlr_wl_backend_output { uint32_t enter_serial; void *egl_surface; + struct wl_list link; }; struct wlr_wl_input_device { |