aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-02-20 11:56:42 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-02-21 09:43:43 +0000
commit4629d0ef403c6fd17e01ee39c25a457466ae3b24 (patch)
treefc9b78824173557d9b99991304a867f6cbbd2a6b /include
parentd25ab033266b5c7a38721c5b43db2ef423dac8f2 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_output.h1
1 files changed, 1 insertions, 0 deletions
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,