output: drop unnecessary wlr_xcursor_manager_load() call

wlr_cursor_set_xcursor() takes care of this already.
This commit is contained in:
Simon Ser 2026-05-13 23:00:08 +02:00
parent 79e1e0dfaa
commit d48cbe40f9

View file

@ -35,7 +35,6 @@
#include <wlr/util/region.h>
#include "output.h"
#include "seat.h"
#include "server.h"
#include "view.h"
#if CAGE_HAS_XWAYLAND
@ -306,11 +305,6 @@ handle_new_output(struct wl_listener *listener, void *data)
output_disable(next);
}
if (!wlr_xcursor_manager_load(server->seat->xcursor_manager, wlr_output->scale)) {
wlr_log(WLR_ERROR, "Cannot load XCursor theme for output '%s' with scale %f", wlr_output->name,
wlr_output->scale);
}
wlr_log(WLR_DEBUG, "Enabling new output %s", wlr_output->name);
if (wlr_output_commit_state(wlr_output, &state)) {
output_layout_add_auto(output);