aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-31 00:22:58 -0400
committeremersion <contact@emersion.fr>2018-03-31 00:22:58 -0400
commit692f1746cff0377393011f698484dc4f6cf030b8 (patch)
tree892bca694be0bb353375751685d9e3a819bf8c05 /rootston
parentf133170ff0187247b13c227bd2527a273c54f13f (diff)
xwayland: specify xwm cursor stride in bytes
Diffstat (limited to 'rootston')
-rw-r--r--rootston/desktop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index 1d2e9549..0668d8cb 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -834,7 +834,7 @@ struct roots_desktop *desktop_create(struct roots_server *server,
if (xcursor != NULL) {
struct wlr_xcursor_image *image = xcursor->images[0];
wlr_xwayland_set_cursor(desktop->xwayland, image->buffer,
- image->width, image->width, image->height, image->hotspot_x,
+ image->width * 4, image->width, image->height, image->hotspot_x,
image->hotspot_y);
}
}