aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_output_power_management_v1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_output_power_management_v1.c b/types/wlr_output_power_management_v1.c
index 1b182300..115c74f7 100644
--- a/types/wlr_output_power_management_v1.c
+++ b/types/wlr_output_power_management_v1.c
@@ -123,6 +123,7 @@ static void output_power_manager_get_output_power(struct wl_client *client,
}
output_power->output = output;
output_power->manager = manager;
+ wl_list_init(&output_power->link);
uint32_t version = wl_resource_get_version(manager_resource);
output_power->resource = wl_resource_create(client,