backends/native: Only warn about cursor sizes once
Because if the current theme has exceeded the dimensions of `DRM_CAP_CURSOR_WIDTH/HEIGHT` then the warning is just going to repeat every time the cursor changes. We still fall back to software cursors just fine so it's not important to repeat the warning. In Mutter 46 the warning was "Invalid theme cursor size". Same problem. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3597 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3924>
This commit is contained in:
parent
07023b65bc
commit
7937f78c7e
1 changed files with 1 additions and 1 deletions
|
@ -719,7 +719,7 @@ load_cursor_sprite_gbm_buffer_for_crtc (MetaCursorRendererNative *native,
|
|||
width, height,
|
||||
&cursor_width, &cursor_height))
|
||||
{
|
||||
meta_warning ("Can't handle cursor size %ux%u)", width, height);
|
||||
g_warning_once ("Can't handle cursor size %ux%u", width, height);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue