mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
backend/x11: hide cursor
This commit is contained in:
parent
96c6091f80
commit
7b88ace557
3 changed files with 19 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue