aboutsummaryrefslogtreecommitdiff
path: root/examples/output-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/output-layout.c')
-rw-r--r--examples/output-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/output-layout.c b/examples/output-layout.c
index c3e3e6d2..be542630 100644
--- a/examples/output-layout.c
+++ b/examples/output-layout.c
@@ -185,7 +185,7 @@ int main(int argc, char *argv[]) {
state.x_vel = 500;
state.y_vel = 500;
- state.layout = wlr_output_layout_init();
+ state.layout = wlr_output_layout_create();
clock_gettime(CLOCK_MONOTONIC, &state.ts_last);
state.config = parse_args(argc, argv);