aboutsummaryrefslogtreecommitdiff
path: root/examples/multi-pointer.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-03-28 00:14:57 -0400
committerGitHub <noreply@github.com>2018-03-28 00:14:57 -0400
commit330ee081269790922a46091399b616b12ce14f51 (patch)
treeffe735fa4b9ca2b058be2c69ccad290dc090d883 /examples/multi-pointer.c
parent48e8202883594091d2ec2b5d0d8a55ddf2f0aea6 (diff)
parentadf4fb08dde2fa3e981213dd6a8c97de1f93c110 (diff)
Merge pull request #744 from emersion/texture-redesign
Redesign wlr_texture
Diffstat (limited to 'examples/multi-pointer.c')
-rw-r--r--examples/multi-pointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multi-pointer.c b/examples/multi-pointer.c
index 43ccdb66..1f869f50 100644
--- a/examples/multi-pointer.c
+++ b/examples/multi-pointer.c
@@ -149,7 +149,7 @@ static void handle_input_add(struct compositor_state *state,
sample->compositor);
struct wlr_xcursor_image *image = sample->xcursor->images[0];
- wlr_cursor_set_image(cursor->cursor, image->buffer, image->width,
+ wlr_cursor_set_image(cursor->cursor, image->buffer, image->width * 4,
image->width, image->height, image->hotspot_x, image->hotspot_y, 0);
wl_list_insert(&sample->cursors, &cursor->link);