aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/x11/output.c')
-rw-r--r--backend/x11/output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c
index 4ccabd51..4a8ac84c 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -136,6 +136,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);