output: disable hardware cursor when falling back to software

This commit is contained in:
Kirill Primak 2024-05-06 21:25:43 +03:00 committed by Alexander Orzechowski
parent f534434be6
commit 510664e79b

View File

@ -391,8 +391,8 @@ bool output_cursor_set_texture(struct wlr_output_cursor *cursor,
return true;
}
wlr_log(WLR_DEBUG, "Falling back to software cursor on output '%s'",
cursor->output->name);
wlr_log(WLR_DEBUG, "Falling back to software cursor on output '%s'", output->name);
output_disable_hardware_cursor(output);
output_cursor_damage_whole(cursor);
return true;
}