From 03e240a7f2f459863b8ea9bc47e03a503cf1f278 Mon Sep 17 00:00:00 2001
From: Alexander Orzechowski <alex@ozal.ski>
Date: Thu, 24 Aug 2023 18:03:19 -0400
Subject: wlr_output: Add applied state to commit event

---
 include/wlr/types/wlr_output.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'include/wlr')

diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index 95ffc670..4b5f29b1 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -227,6 +227,7 @@ struct wlr_output_event_commit {
 	uint32_t committed; // bitmask of enum wlr_output_state_field
 	struct timespec *when;
 	struct wlr_buffer *buffer; // NULL if no buffer is committed
+	const struct wlr_output_state *state;
 };
 
 enum wlr_output_present_flag {
-- 
cgit v1.2.3