backend/x11: Hide cursor with Xfixes

This commit is contained in:
Scott Anderson 2018-11-11 14:51:22 +13:00
parent 70ae76304e
commit d3ee69f76b
5 changed files with 59 additions and 22 deletions

View file

@ -33,6 +33,8 @@ struct wlr_x11_output {
struct wl_event_source *frame_timer;
int frame_delay;
bool cursor_hidden;
};
struct wlr_x11_backend {
@ -64,9 +66,6 @@ struct wlr_x11_backend {
// The time we last received an event
xcb_timestamp_t time;
// A blank cursor
xcb_cursor_t cursor;
uint8_t xinput_opcode;
struct wl_listener display_destroy;