aboutsummaryrefslogtreecommitdiff
path: root/xwayland
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 /xwayland
parentf133170ff0187247b13c227bd2527a273c54f13f (diff)
xwayland: specify xwm cursor stride in bytes
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c1
1 files changed, 0 insertions, 1 deletions
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);