aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-31 00:28:01 -0400
committerGitHub <noreply@github.com>2018-03-31 00:28:01 -0400
commit30416123632cc0d52d8610036fc129ceb4cc02b3 (patch)
treefd9ea06fb4c2df95156a834d6ad8bc678ebcf62d /xwayland
parent23d357e371fd49243a6f2989058b25c599888505 (diff)
parent692f1746cff0377393011f698484dc4f6cf030b8 (diff)
Merge pull request #788 from emersion/xwm-cursor-stride
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);