diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2021-01-20 20:06:28 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-02-05 11:45:54 +0100 |
commit | ef94e7e847de59984e613fe182ce34e63152e96b (patch) | |
tree | 8f0424a0d8b1e87f0f46264b0593f099bda4dbba /include/backend | |
parent | 8ad078f46f4bdea82354dc1fc94f2b36f9f05ed6 (diff) |
backend/x11: use native cursors
Fixes #2659
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/x11.h | 8 |
1 files changed, 7 insertions, 1 deletions
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; |