backend/x11: hide cursor

This commit is contained in:
emersion 2018-03-31 12:07:58 -04:00
parent 96c6091f80
commit 7b88ace557
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 19 additions and 0 deletions

View file

@ -135,6 +135,10 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) {
strlen(title), title);
}
uint32_t cursor_values[] = { x11->cursor };
xcb_change_window_attributes(x11->xcb_conn, output->win, XCB_CW_CURSOR,
cursor_values);
xcb_map_window(x11->xcb_conn, output->win);
xcb_flush(x11->xcb_conn);