diff options
author | Simon Ser <contact@emersion.fr> | 2022-09-15 09:32:09 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-09-15 09:33:30 +0200 |
commit | 7d9c595f19b7180aaed1dd229e9b5b9907c14478 (patch) | |
tree | b76867c0b222883148ae8abb9f40a88a72716c43 | |
parent | bca60c4eec2e156a018c66aa5076d6ae7bbe5bed (diff) |
output/cursor: downgrade error messages
When the output doesn't support hardware cursors, these errors
will be printed. However, these errors are expected and we have a
proper fallback.
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3457
-rw-r--r-- | types/output/cursor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/types/output/cursor.c b/types/output/cursor.c index 89f41b77..b4eb55af 100644 --- a/types/output/cursor.c +++ b/types/output/cursor.c @@ -220,7 +220,7 @@ static struct wlr_drm_format *output_pick_cursor_format(struct wlr_output *outpu display_formats = output->impl->get_cursor_formats(output, allocator->buffer_caps); if (display_formats == NULL) { - wlr_log(WLR_ERROR, "Failed to get cursor display formats"); + wlr_log(WLR_DEBUG, "Failed to get cursor display formats"); return NULL; } } @@ -266,7 +266,7 @@ static struct wlr_buffer *render_cursor_buffer(struct wlr_output_cursor *cursor) struct wlr_drm_format *format = output_pick_cursor_format(output); if (format == NULL) { - wlr_log(WLR_ERROR, "Failed to pick cursor format"); + wlr_log(WLR_DEBUG, "Failed to pick cursor format"); return NULL; } @@ -351,7 +351,7 @@ static bool output_cursor_attempt_hardware(struct wlr_output_cursor *cursor) { if (texture != NULL) { buffer = render_cursor_buffer(cursor); if (buffer == NULL) { - wlr_log(WLR_ERROR, "Failed to render cursor buffer"); + wlr_log(WLR_DEBUG, "Failed to render cursor buffer"); return false; } } |