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:
Jasper St. Pierre 2014-04-22 15:28:48 -04:00
parent 33f3ca7fba
commit 93600d6166

View File

@ -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);
}