aboutsummaryrefslogtreecommitdiff
path: root/examples/pointer.c
diff options
context:
space:
mode:
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 100feccc..5341c72c 100644
--- a/examples/pointer.c
+++ b/examples/pointer.c
@@ -340,7 +340,7 @@ int main(int argc, char *argv[]) {
};
state.config = parse_args(argc, argv);
- state.cursor = wlr_cursor_init();
+ state.cursor = wlr_cursor_create();
wlr_cursor_map_to_region(state.cursor, state.config->cursor.mapped_geo);
wl_list_init(&state.devices);