From 692f1746cff0377393011f698484dc4f6cf030b8 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 31 Mar 2018 00:22:58 -0400 Subject: xwayland: specify xwm cursor stride in bytes --- xwayland/xwm.c | 1 - 1 file changed, 1 deletion(-) (limited to 'xwayland') diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 2743cc53..6702c3c9 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -1378,7 +1378,6 @@ void xwm_set_cursor(struct wlr_xwm *xwm, const uint8_t *pixels, uint32_t stride, xcb_free_cursor(xwm->xcb_conn, xwm->cursor); } - stride *= 4; int depth = 32; xcb_pixmap_t pix = xcb_generate_id(xwm->xcb_conn); -- cgit v1.2.3