[mutter] cursor-renderer/native: Update hw state via generic update path
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cursor-renderer/native: Update hw state via generic update path
- Date: Fri, 15 Jun 2018 19:13:26 +0000 (UTC)
commit 7412794c667483bbd6aeb2137f0c6f39c332035b
Author: Jonas Ådahl <jadahl gmail com>
Date: Wed May 9 18:50:37 2018 +0200
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
src/backends/native/meta-cursor-renderer-native.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/backends/native/meta-cursor-renderer-native.c
b/src/backends/native/meta-cursor-renderer-native.c
index e151afce5..c8ebe3bff 100644
--- a/src/backends/native/meta-cursor-renderer-native.c
+++ b/src/backends/native/meta-cursor-renderer-native.c
@@ -1101,7 +1101,7 @@ force_update_hw_cursor (MetaCursorRendererNative *native)
meta_cursor_renderer_native_get_instance_private (native);
priv->hw_state_invalidated = TRUE;
- update_hw_cursor (native, meta_cursor_renderer_get_cursor (renderer));
+ meta_cursor_renderer_force_update (renderer);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]