backends: Make MetaHwCursorInhibitor less about sprites

Remove the sprite argument from the vfunc, it's used in no implementations
and conceptually gets a bit in the middle.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403>
This commit is contained in:
Carlos Garnacho
2020-07-13 17:29:51 +02:00
committed by Marge Bot
parent 00cbcb7ba1
commit e218b00747
5 changed files with 13 additions and 21 deletions

View File

@ -880,8 +880,7 @@ should_have_hw_cursor (MetaCursorRenderer *renderer,
if (!cursor_sprite)
return FALSE;
if (meta_cursor_renderer_is_hw_cursors_inhibited (renderer,
cursor_sprite))
if (meta_cursor_renderer_is_hw_cursors_inhibited (renderer))
return FALSE;
for (l = gpus; l; l = l->next)