cursor: Don't load cursor theme in server_init()

We are already doing that in seat_init() -> cursor_init()
This commit is contained in:
Consolatis 2022-09-11 00:05:30 +02:00 committed by Johan Malm
parent 0deaeceb72
commit 9b02021207

View file

@ -423,13 +423,7 @@ server_init(struct server *server)
wlr_log(WLR_DEBUG, "xwayland is running on display %s",
server->xwayland->display_name);
}
#endif
if (!wlr_xcursor_manager_load(server->seat.xcursor_manager, 1)) {
wlr_log(WLR_ERROR, "cannot load xcursor theme");
}
#if HAVE_XWAYLAND
struct wlr_xcursor *xcursor;
xcursor = wlr_xcursor_manager_get_xcursor(server->seat.xcursor_manager,
XCURSOR_DEFAULT, 1);