Invert wlr_xcursor_manager_load return value

This commit is contained in:
Jente Hidskes 2020-07-16 15:21:17 +02:00
parent a6b1cf1d69
commit 0d694db6fe
2 changed files with 2 additions and 2 deletions

View file

@ -474,7 +474,7 @@ handle_new_output(struct wl_listener *listener, void *data)
}
}
if (wlr_xcursor_manager_load(server->seat->xcursor_manager, wlr_output->scale)) {
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);
}