diff options
author | Simon Ser <contact@emersion.fr> | 2022-05-24 19:51:46 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-05-30 11:34:57 +0200 |
commit | c4253fef9c1197a4f1228022ca528f38b23b5519 (patch) | |
tree | 0fb1a83e94e0621b7287a7cc4294201ddb876c67 /include | |
parent | 9e25d3074d6091141d184c95492d47dd8a6c904e (diff) |
output: add wlr_output_test_state
Same as wlr_output_test, but takes a wlr_output_state argument.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_output.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 13b6797f..363df2bc 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -425,6 +425,8 @@ bool wlr_output_commit(struct wlr_output *output); * Discard the pending output state. */ void wlr_output_rollback(struct wlr_output *output); +bool wlr_output_test_state(struct wlr_output *output, + const struct wlr_output_state *state); /** * Manually schedules a `frame` event. If a `frame` event is already pending, * it is a no-op. |