mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
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:

committed by
Marge Bot

parent
00cbcb7ba1
commit
e218b00747
@ -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)
|
||||
|
Reference in New Issue
Block a user