aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/render.c b/render.c
index e0f32575..a41eee0c 100644
--- a/render.c
+++ b/render.c
@@ -4929,8 +4929,9 @@ render_xcursor_update(struct seat *seat)
const enum wp_cursor_shape_device_v1_shape custom_shape =
(shape == CURSOR_SHAPE_CUSTOM && xcursor != NULL
- ? cursor_string_to_server_shape(xcursor)
- : 0);
+ ? cursor_string_to_server_shape(
+ xcursor, seat->wayl->shape_manager_version)
+ : 0);
if (shape != CURSOR_SHAPE_CUSTOM || custom_shape != 0) {
xassert(custom_shape == 0 || shape == CURSOR_SHAPE_CUSTOM);