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.

Adapted from commit 6d6ecd44d7.
This commit is contained in:
Simon Ser 2026-06-30 20:47:50 +02:00
parent 3783af4fad
commit 7fabaa5162

2
cage.c
View file

@ -569,7 +569,7 @@ main(int argc, char *argv[])
server.new_xwayland_surface.notify = handle_xwayland_surface_new;
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) {
wlr_log(WLR_ERROR, "Cannot create XWayland XCursor manager");
ret = 1;