From c8eb24d30e18c165728b8788a10716611c3b633d Mon Sep 17 00:00:00 2001
From: Simon Ser <contact@emersion.fr>
Date: Thu, 1 Dec 2022 10:13:12 +0100
Subject: output: drop enable/mode events

The backend no longer changes the output state behind the
compositor's back. Instead, compositors can listen to the "commit"
event and check for WLR_OUTPUT_STATE_ENABLED/WLR_OUTPUT_STATE_MODE.

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2300
---
 include/wlr/types/wlr_output.h | 2 --
 1 file changed, 2 deletions(-)

(limited to 'include/wlr')

diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index cf75d864..45a93d47 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -175,8 +175,6 @@ struct wlr_output {
 		struct wl_signal present; // wlr_output_event_present
 		// Emitted after a client bound the wl_output global
 		struct wl_signal bind; // wlr_output_event_bind
-		struct wl_signal enable;
-		struct wl_signal mode;
 		struct wl_signal description;
 		struct wl_signal request_state;
 		struct wl_signal destroy;
-- 
cgit v1.2.3