aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-03-08 17:10:53 +0100
committerDrew DeVault <sir@cmpwn.com>2019-04-11 09:19:57 -0600
commitef68d7d4d129582a49c0040cb7ddaf36637fe24d (patch)
treea8f3dbf24554445aaf24f81ced67b7d00740ca05 /include
parent54d6ba78c33b15480c75025f15893f006a2ca5d1 (diff)
output-management-v1: add support for modes
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_output_management_v1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output_management_v1.h b/include/wlr/types/wlr_output_management_v1.h
index b7272cfe..2078ac7b 100644
--- a/include/wlr/types/wlr_output_management_v1.h
+++ b/include/wlr/types/wlr_output_management_v1.h
@@ -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;
};