mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
output-management-v1: add wlr_output_head_v1_state_apply()
This function applies a configuration sent by a client on a struct wlr_output_state.
This commit is contained in:
parent
29291cb47c
commit
d89285f783
2 changed files with 34 additions and 0 deletions
|
|
@ -141,4 +141,16 @@ struct wlr_output_configuration_head_v1 *
|
|||
wlr_output_configuration_head_v1_create(
|
||||
struct wlr_output_configuration_v1 *config, struct wlr_output *output);
|
||||
|
||||
/**
|
||||
* Apply the head state on the supplied struct wlr_output_state.
|
||||
*
|
||||
* Compositors can then pass the resulting struct wlr_output_state to
|
||||
* wlr_output_commit_state() or wlr_output_test_state().
|
||||
*
|
||||
* The position needs to be applied manually by the caller.
|
||||
*/
|
||||
void wlr_output_head_v1_state_apply(
|
||||
const struct wlr_output_head_v1_state *head_state,
|
||||
struct wlr_output_state *output_state);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue