mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
output-management-v1: add support for modes
This commit is contained in:
parent
54d6ba78c3
commit
ef68d7d4d1
2 changed files with 76 additions and 17 deletions
|
|
@ -36,6 +36,7 @@ struct wlr_output_head_v1_state {
|
|||
struct wlr_output *output;
|
||||
|
||||
bool enabled;
|
||||
struct wlr_output_mode *mode;
|
||||
};
|
||||
|
||||
struct wlr_output_head_v1 {
|
||||
|
|
@ -44,6 +45,7 @@ struct wlr_output_head_v1 {
|
|||
struct wl_list link; // wlr_output_manager_v1::heads
|
||||
|
||||
struct wl_list resources; // wl_resource_get_link
|
||||
struct wl_list mode_resources; // wl_resource_get_link
|
||||
|
||||
struct wl_listener output_destroy;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue