mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
xwayland: specify xwm cursor stride in bytes
This commit is contained in:
parent
f133170ff0
commit
692f1746cf
2 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue