|
|
@ -31,17 +31,17 @@ enum mask {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct output_state {
|
|
|
|
struct output_state {
|
|
|
|
struct wl_output *output;
|
|
|
|
struct wl_output *output;
|
|
|
|
uint32_t flags;
|
|
|
|
uint32_t flags;
|
|
|
|
uint32_t width, height;
|
|
|
|
uint32_t width, height;
|
|
|
|
uint32_t scale;
|
|
|
|
uint32_t scale;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct xkb {
|
|
|
|
struct xkb {
|
|
|
|
struct xkb_state *state;
|
|
|
|
struct xkb_state *state;
|
|
|
|
struct xkb_context *context;
|
|
|
|
struct xkb_context *context;
|
|
|
|
struct xkb_keymap *keymap;
|
|
|
|
struct xkb_keymap *keymap;
|
|
|
|
xkb_mod_mask_t masks[MASK_LAST];
|
|
|
|
xkb_mod_mask_t masks[MASK_LAST];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct input {
|
|
|
|
struct input {
|
|
|
@ -56,17 +56,17 @@ struct input {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct registry {
|
|
|
|
struct registry {
|
|
|
|
struct wl_compositor *compositor;
|
|
|
|
struct wl_compositor *compositor;
|
|
|
|
struct wl_display *display;
|
|
|
|
struct wl_display *display;
|
|
|
|
struct wl_pointer *pointer;
|
|
|
|
struct wl_pointer *pointer;
|
|
|
|
struct wl_keyboard *keyboard;
|
|
|
|
struct wl_keyboard *keyboard;
|
|
|
|
struct wl_seat *seat;
|
|
|
|
struct wl_seat *seat;
|
|
|
|
struct wl_shell *shell;
|
|
|
|
struct wl_shell *shell;
|
|
|
|
struct wl_shm *shm;
|
|
|
|
struct wl_shm *shm;
|
|
|
|
struct desktop_shell *desktop_shell;
|
|
|
|
struct desktop_shell *desktop_shell;
|
|
|
|
struct lock *swaylock;
|
|
|
|
struct lock *swaylock;
|
|
|
|
struct input *input;
|
|
|
|
struct input *input;
|
|
|
|
list_t *outputs;
|
|
|
|
list_t *outputs;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct registry *registry_poll(void);
|
|
|
|
struct registry *registry_poll(void);
|
|
|
|