mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-16 22:05:45 -05:00
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.
This commit is contained in:
parent
d25ab03326
commit
4629d0ef40
3 changed files with 16 additions and 12 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue