]> git.mdlowis.com Git - proto/labwc.git/commitdiff
cursor: Don't load cursor theme in server_init()
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 10 Sep 2022 22:05:30 +0000 (00:05 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 11 Sep 2022 20:20:00 +0000 (21:20 +0100)
We are already doing that in seat_init() -> cursor_init()

src/server.c

index f2f684982f4ca07f69a4168d1ba6937824b44e20..c2532a5bddded4d6d286e3c02490270ae941fe05 100644 (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);