mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -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
@ -269,11 +269,10 @@ update_cursor (MetaCursorRenderer *renderer)
|
|||||||
|
|
||||||
if (meta_is_wayland_compositor ())
|
if (meta_is_wayland_compositor ())
|
||||||
{
|
{
|
||||||
|
update_hw_cursor (renderer);
|
||||||
|
|
||||||
if (priv->has_hw_cursor)
|
if (priv->has_hw_cursor)
|
||||||
{
|
move_hw_cursor (renderer);
|
||||||
update_hw_cursor (renderer);
|
|
||||||
move_hw_cursor (renderer);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
queue_redraw (renderer);
|
queue_redraw (renderer);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user