From 5ca9d612f4fa1977bec5a8c1e79c33d2ce4df365 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 25 Apr 2017 19:19:21 -0400 Subject: Flesh out wayland backend registry --- include/wlr/wayland.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'include/wlr/wayland.h') diff --git a/include/wlr/wayland.h b/include/wlr/wayland.h index 1c0b30ae..0a6974ff 100644 --- a/include/wlr/wayland.h +++ b/include/wlr/wayland.h @@ -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 { -- cgit v1.2.3