cursor-renderer/native: Update hw state via generic update path

When force-updating the HW state we might end up with a situation where
the HW cursor is no longer usable. If this would happen, we'd before
this commit not trigger the fallback paths using a GL texture.

https://gitlab.gnome.org/GNOME/mutter/issues/77
This commit is contained in:
Jonas Ådahl 2018-05-09 18:50:37 +02:00
parent ad22b3f098
commit 7412794c66

View File

@ -1101,7 +1101,7 @@ force_update_hw_cursor (MetaCursorRendererNative *native)
meta_cursor_renderer_native_get_instance_private (native); meta_cursor_renderer_native_get_instance_private (native);
priv->hw_state_invalidated = TRUE; priv->hw_state_invalidated = TRUE;
update_hw_cursor (native, meta_cursor_renderer_get_cursor (renderer)); meta_cursor_renderer_force_update (renderer);
} }
static void static void