From ef94e7e847de59984e613fe182ce34e63152e96b Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Wed, 20 Jan 2021 20:06:28 -0500 Subject: backend/x11: use native cursors Fixes #2659 --- include/backend/x11.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/backend') diff --git a/include/backend/x11.h b/include/backend/x11.h index 1b440d2a..3dfe2fe8 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -51,6 +51,11 @@ struct wlr_x11_output { pixman_region32_t exposed; uint64_t last_msc; + + struct { + struct wlr_swapchain *swapchain; + xcb_render_picture_t pic; + } cursor; }; struct wlr_x11_touchpoint { @@ -70,7 +75,8 @@ struct wlr_x11_backend { xcb_depth_t *depth; xcb_visualid_t visualid; xcb_colormap_t colormap; - xcb_cursor_t cursor; + xcb_cursor_t transparent_cursor; + xcb_render_pictformat_t argb32; uint32_t dri3_major_version, dri3_minor_version; size_t requested_outputs; -- cgit v1.2.3