From 8136605cfb72f2addc16c126519dd3a63e803ec2 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 9 Mar 2019 23:12:27 +0100 Subject: output-management-v1: support applying configuration --- include/wlr/types/wlr_output_management_v1.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_output_management_v1.h b/include/wlr/types/wlr_output_management_v1.h index 4622e6da..c6429e04 100644 --- a/include/wlr/types/wlr_output_management_v1.h +++ b/include/wlr/types/wlr_output_management_v1.h @@ -56,11 +56,12 @@ struct wlr_output_head_v1 { struct wlr_output_configuration_v1 { struct wl_list heads; // wlr_output_configuration_head_v1::link + // client state struct wlr_output_manager_v1 *manager; uint32_t serial; bool finalized; // client has requested to apply the config bool finished; // feedback has been sent by the compositor - struct wl_resource *resource; // can be NULL + struct wl_resource *resource; // can be NULL if destroyed early }; struct wlr_output_configuration_head_v1 { @@ -68,7 +69,8 @@ struct wlr_output_configuration_head_v1 { struct wlr_output_configuration_v1 *config; struct wl_list link; // wlr_output_configuration_v1::heads - struct wl_resource *resource; // can be NULL + // client state + struct wl_resource *resource; // can be NULL if finalized or disabled struct wl_listener output_destroy; }; -- cgit v1.2.3