cursor-renderer/native: Log instead of warn when cursor size mismatch

KMS can support only very specific cursor sizes and having a cursor that
doesn't match that size isn't something going wrong. Instead of
generating a warning, just log it.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4307>
This commit is contained in:
Sebastian Wick 2025-02-28 17:35:17 +01:00 committed by Marge Bot
parent db488ccab0
commit 5c9444d03b

View File

@ -1177,8 +1177,9 @@ realize_cursor_sprite_from_wl_buffer_for_crtc (MetaCursorRenderer *renderer
if (!supports_exact_cursor_size (crtc_kms, width, height))
{
g_warning ("Invalid cursor size %ux%u, falling back to SW GL cursors)",
width, height);
meta_topic (META_DEBUG_KMS,
"Invalid cursor size %ux%u, falling back to SW GL cursors)",
width, height);
return FALSE;
}