mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-21 13:04:18 +02:00
Invert wlr_xcursor_manager_load return value
This commit is contained in:
parent
4515ed8574
commit
80ada7d14b
2 changed files with 2 additions and 2 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
2
output.c
2
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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue