aboutsummaryrefslogtreecommitdiff
path: root/examples/pointer.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-09-05 17:53:29 -0400
committerTony Crisci <tony@dubstepdish.com>2017-09-05 17:53:29 -0400
commite733b0e64309dbddffba33f19029664ebaf4ffb7 (patch)
treebca8f393ee9fc0fea184c8877da30562b84f0342 /examples/pointer.c
parentc5a2014a2ff3e22086c0d911f3bf771c5d5fb112 (diff)
Rename wlr_output_layout_init()
Rename wlr_output_layout_init() to wlr_output_layout_create() to be consistent with the rest of the api.
Diffstat (limited to 'examples/pointer.c')
-rw-r--r--examples/pointer.c2
1 files changed, 1 insertions, 1 deletions
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);