aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/interfaces/wlr_output.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index 4de02c0b..7a1252db 100644
--- a/include/wlr/interfaces/wlr_output.h
+++ b/include/wlr/interfaces/wlr_output.h
@@ -54,18 +54,18 @@ struct wlr_output_impl {
*/
void (*destroy)(struct wlr_output *output);
/**
- * Check that the pending output state is a valid configuration.
+ * Check that the supplied output state is a valid configuration.
*
* If this function returns true, commit can only fail due to a runtime
* error.
*/
- bool (*test)(struct wlr_output *output);
+ bool (*test)(struct wlr_output *output, const struct wlr_output_state *state);
/**
- * Commit the pending output state.
+ * Commit the supplied output state.
*
* If a buffer has been attached, a frame event is scheduled.
*/
- bool (*commit)(struct wlr_output *output);
+ bool (*commit)(struct wlr_output *output, const struct wlr_output_state *state);
/**
* Get the maximum number of gamma LUT elements for each channel.
*