From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Sat, 10 Sep 2022 22:05:30 +0000 (+0200) Subject: cursor: Don't load cursor theme in server_init() X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=9b020212072eceff2c634686505529884ae28387;p=proto%2Flabwc.git cursor: Don't load cursor theme in server_init() We are already doing that in seat_init() -> cursor_init() --- diff --git a/src/server.c b/src/server.c index f2f68498..c2532a5b 100644 --- a/src/server.c +++ b/src/server.c @@ -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);