cage: stop using DEFAULT_XCURSOR as a cursor theme name

That's a cursor image name, not a cursor theme name.

NULL means use default.
This commit is contained in:
Simon Ser 2026-05-13 23:02:27 +02:00
parent 5ce4051db2
commit 6d6ecd44d7

2
cage.c
View file

@ -577,7 +577,7 @@ main(int argc, char *argv[])
server.new_xwayland_surface.notify = handle_xwayland_surface_new; server.new_xwayland_surface.notify = handle_xwayland_surface_new;
wl_signal_add(&xwayland->events.new_surface, &server.new_xwayland_surface); wl_signal_add(&xwayland->events.new_surface, &server.new_xwayland_surface);
xcursor_manager = wlr_xcursor_manager_create(DEFAULT_XCURSOR, XCURSOR_SIZE); xcursor_manager = wlr_xcursor_manager_create(NULL, XCURSOR_SIZE);
if (!xcursor_manager) { if (!xcursor_manager) {
wlr_log(WLR_ERROR, "Cannot create XWayland XCursor manager"); wlr_log(WLR_ERROR, "Cannot create XWayland XCursor manager");
ret = 1; ret = 1;