diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2021-01-17 18:05:38 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-18 21:07:11 +0100 |
commit | 966e65393560fea6db84fb42019fa27127975cdc (patch) | |
tree | 491d4c8e62319744e4bbf5df1733475f4eba203c /include/backend | |
parent | 04d89a8bc5c5b0db0ae24ca3e2b35f5632ed6d23 (diff) |
backend/x11: set a blank cursor rather than hiding globally
This actually simplifies the logic since we no longer have to wait for
enter/leave events, and also improves the UX when e.g. handling a crash
with gdb attached.
See #2659
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/x11.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h index b21d818e..79c61b88 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -47,7 +47,6 @@ struct wlr_x11_output { struct wl_list buffers; // wlr_x11_buffer::link - bool cursor_hidden; uint64_t last_msc; }; @@ -68,6 +67,7 @@ struct wlr_x11_backend { xcb_depth_t *depth; xcb_visualid_t visualid; xcb_colormap_t colormap; + xcb_cursor_t cursor; uint32_t dri3_major_version, dri3_minor_version; size_t requested_outputs; |