diff --git a/cagebreak.c b/cagebreak.c index 5185214..6cc2711 100644 --- a/cagebreak.c +++ b/cagebreak.c @@ -482,7 +482,7 @@ main(int argc, char *argv[]) { xwayland->display_name); } - if(wlr_xcursor_manager_load(xcursor_manager, 1)) { + if(!wlr_xcursor_manager_load(xcursor_manager, 1)) { wlr_log(WLR_ERROR, "Cannot load XWayland XCursor theme"); } struct wlr_xcursor *xcursor = diff --git a/output.c b/output.c index fb35ea9..2b3d1bd 100644 --- a/output.c +++ b/output.c @@ -594,7 +594,7 @@ handle_new_output(struct wl_listener *listener, void *data) { output->curr_workspace = 0; wl_list_init(&output->messages); - if(wlr_xcursor_manager_load(server->seat->xcursor_manager, + 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",