mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-06 13:29:45 -05:00
Replace list_t with wl_list in wlr_wl_backend
Now wlr_backend->outputs is a list of wlr_wl_backend_output instead of wlr_output. Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
This commit is contained in:
parent
e1f196a3e9
commit
d3f0878d71
5 changed files with 19 additions and 39 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue