From e733b0e64309dbddffba33f19029664ebaf4ffb7 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Tue, 5 Sep 2017 17:53:29 -0400 Subject: Rename wlr_output_layout_init() Rename wlr_output_layout_init() to wlr_output_layout_create() to be consistent with the rest of the api. --- examples/output-layout.c | 2 +- examples/pointer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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); diff --git a/examples/pointer.c b/examples/pointer.c index 1eb0f923..56f9e60a 100644 --- a/examples/pointer.c +++ b/examples/pointer.c @@ -335,7 +335,7 @@ int main(int argc, char *argv[]) { state.config = parse_args(argc, argv); state.cursor = wlr_cursor_create(); - state.layout = wlr_output_layout_init(); + state.layout = wlr_output_layout_create(); wlr_cursor_attach_output_layout(state.cursor, state.layout); wlr_cursor_map_to_region(state.cursor, state.config->cursor.mapped_box); wl_list_init(&state.devices); -- cgit v1.2.3