aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/wayland.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/wayland.h')
-rw-r--r--include/wlr/wayland.h17
1 files changed, 15 insertions, 2 deletions
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 {