mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
cursor-renderer: Fix HW cursors
We need to make sure that we update the HW cursor if we disable it for some reason.
This commit is contained in:
parent
33f3ca7fba
commit
93600d6166
@ -268,12 +268,11 @@ update_cursor (MetaCursorRenderer *renderer)
|
||||
}
|
||||
|
||||
if (meta_is_wayland_compositor ())
|
||||
{
|
||||
if (priv->has_hw_cursor)
|
||||
{
|
||||
update_hw_cursor (renderer);
|
||||
|
||||
if (priv->has_hw_cursor)
|
||||
move_hw_cursor (renderer);
|
||||
}
|
||||
else
|
||||
queue_redraw (renderer);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user