aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/wayland/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/wayland/output.c b/backend/wayland/output.c
index 6bc84dcb..633e9a59 100644
--- a/backend/wayland/output.c
+++ b/backend/wayland/output.c
@@ -450,7 +450,7 @@ static bool output_set_cursor(struct wlr_output *wlr_output,
wlr_egl_unset_current(&output->backend->egl);
struct wlr_wl_buffer *buffer =
- create_wl_buffer(output->backend, wlr_buffer);
+ get_or_create_wl_buffer(output->backend, wlr_buffer);
if (buffer == NULL) {
return false;
}