From c4253fef9c1197a4f1228022ca528f38b23b5519 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 24 May 2022 19:51:46 +0200 Subject: output: add wlr_output_test_state Same as wlr_output_test, but takes a wlr_output_state argument. --- include/wlr/types/wlr_output.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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. -- cgit v1.2.3