diff options
author | nyorain <nyorain@gmail.com> | 2017-06-19 19:05:10 +0200 |
---|---|---|
committer | nyorain <nyorain@gmail.com> | 2017-06-19 19:05:10 +0200 |
commit | 8fbf1ca3ff060c54ce0855e10a96ce968b89cd5e (patch) | |
tree | a8ed01de2b8ce364ee516f91325bf2f432f028ac /include/backend | |
parent | 41a477375cf5fc2cfafc97fb6d98e4e3457dfa62 (diff) |
Continue wayland backend update
Update wayland backend to new api.
Start to use the input interfaces.
Compiling now, not tested.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/wayland.h | 14 |
1 files changed, 12 insertions, 2 deletions
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 <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); |