mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Flesh out wayland backend registry
This commit is contained in:
parent
de01e654ce
commit
5ca9d612f4
7 changed files with 156 additions and 16 deletions
|
|
@ -8,15 +8,28 @@ struct wlr_wl_seat {
|
|||
struct wl_seat *wl_seat;
|
||||
uint32_t capabilities;
|
||||
const char *name;
|
||||
list_t *outputs;
|
||||
list_t *keyboards;
|
||||
list_t *pointers;
|
||||
};
|
||||
|
||||
struct wlr_wl_output_mode {
|
||||
uint32_t flags; // enum wl_output_mode
|
||||
int32_t width, height;
|
||||
int32_t refresh; // mHz
|
||||
};
|
||||
|
||||
struct wlr_wl_output {
|
||||
struct wl_output *wl_output;
|
||||
uint32_t flags;
|
||||
uint32_t width, height;
|
||||
const char *make;
|
||||
const char *model;
|
||||
uint32_t scale;
|
||||
int32_t x, y;
|
||||
int32_t phys_width, phys_height; // mm
|
||||
int32_t subpixel; // enum wl_output_subpixel
|
||||
int32_t transform; // enum wl_output_transform
|
||||
list_t *modes;
|
||||
struct wlr_wl_output_mode *current_mode;
|
||||
};
|
||||
|
||||
struct wlr_wl_keyboard {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue