From 8fbf1ca3ff060c54ce0855e10a96ce968b89cd5e Mon Sep 17 00:00:00 2001 From: nyorain Date: Mon, 19 Jun 2017 19:05:10 +0200 Subject: Continue wayland backend update Update wayland backend to new api. Start to use the input interfaces. Compiling now, not tested. --- include/backend/wayland.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/backend/wayland.h b/include/backend/wayland.h index b576e564..9c1a7a00 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -4,7 +4,6 @@ #include #include #include -#include #include struct wlr_backend_state { @@ -16,8 +15,19 @@ struct wlr_backend_state { struct wl_compositor *compositor; struct wl_shell *shell; struct wl_shm *shm; - struct wlr_wl_seat *seat; + struct wl_seat *seat; + const char *seatName; + + struct wlr_backend *backend; list_t *outputs; + list_t *devices; +}; + +struct wlr_output_state { + struct wl_output* output; +}; + +struct wlr_input_device_state { }; void wlr_wlb_registry_poll(struct wlr_backend_state *backend); -- cgit v1.2.3