From 4629d0ef403c6fd17e01ee39c25a457466ae3b24 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 20 Feb 2023 11:56:42 +0100 Subject: output: expose wlr_output_state_finish() Same as the original function, but check for the bitfield before calling pixman_region32_fini(), because that function expects an initialized region. --- 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 4f9e3e11..cfd21325 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -543,6 +543,7 @@ bool wlr_output_cursor_move(struct wlr_output_cursor *cursor, void wlr_output_cursor_destroy(struct wlr_output_cursor *cursor); +void wlr_output_state_finish(struct wlr_output_state *state); void wlr_output_state_set_enabled(struct wlr_output_state *state, bool enabled); void wlr_output_state_set_mode(struct wlr_output_state *state, -- cgit v1.2.3