Continue wayland backend update

Update wayland backend to new api.
Start to use the input interfaces.
Compiling now, not tested.
This commit is contained in:
nyorain 2017-06-19 19:05:10 +02:00
parent 41a477375c
commit 8fbf1ca3ff
5 changed files with 157 additions and 85 deletions

View file

@ -4,7 +4,6 @@
#include <wayland-client.h>
#include <wayland-server.h>
#include <wlr/common/list.h>
#include <wlr/wayland.h>
#include <wlr/backend/wayland.h>
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);