aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-08-16 11:35:28 -0400
committerAlexander Orzechowski <alex@ozal.ski>2023-08-16 11:46:27 -0400
commit6cda3e251c8f78a376b3a239c2c4fd7fae1a3f3e (patch)
tree9584cd1e9cf3828c1aa97660c22d921759952498 /include/wlr/interfaces
parent8f67446cc736be1c10ff48e83dda3e98ae816dc2 (diff)
output: Add initialization state to wlr_output_init
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_output.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index 6c0bbd6c..42374328 100644
--- a/include/wlr/interfaces/wlr_output.h
+++ b/include/wlr/interfaces/wlr_output.h
@@ -101,7 +101,8 @@ struct wlr_output_impl {
* Initialize a new output.
*/
void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend,
- const struct wlr_output_impl *impl, struct wl_display *display);
+ const struct wlr_output_impl *impl, struct wl_display *display,
+ const struct wlr_output_state *state);
/**
* Update the current output mode.
*