mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
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:
parent
41a477375c
commit
8fbf1ca3ff
5 changed files with 157 additions and 85 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue