aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-24 20:42:29 +0200
committerSimon Ser <contact@emersion.fr>2022-05-30 11:40:34 +0200
commitd483dd2f4caeeab97de97c4e8215f084945de63c (patch)
treea1f861191ddd29679eed8dbf2ba474cc3e784142 /include/wlr
parent501ac5398d6f9a85dfdeeb9bf60a342bcff35adc (diff)
output: add wlr_output_commit_state
Same as wlr_output_commit, but takes a wlr_output_state.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index 05275156..68f85ebb 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -428,6 +428,8 @@ bool wlr_output_commit(struct wlr_output *output);
void wlr_output_rollback(struct wlr_output *output);
bool wlr_output_test_state(struct wlr_output *output,
const struct wlr_output_state *state);
+bool wlr_output_commit_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.