aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2021-01-17 18:05:38 -0500
committerSimon Ser <contact@emersion.fr>2021-01-18 21:07:11 +0100
commit966e65393560fea6db84fb42019fa27127975cdc (patch)
tree491d4c8e62319744e4bbf5df1733475f4eba203c /include
parent04d89a8bc5c5b0db0ae24ca3e2b35f5632ed6d23 (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')
-rw-r--r--include/backend/x11.h2
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;