[mutter] cursor-renderer: Fix HW cursors
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cursor-renderer: Fix HW cursors
- Date: Tue, 22 Apr 2014 20:57:16 +0000 (UTC)
commit 93600d6166534bbb7fba452879facfee0dbd7d7c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Apr 22 15:28:48 2014 -0400
cursor-renderer: Fix HW cursors
We need to make sure that we update the HW cursor if we disable
it for some reason.
src/backends/meta-cursor-renderer.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/backends/meta-cursor-renderer.c b/src/backends/meta-cursor-renderer.c
index 314f6f1..a92254b 100644
--- a/src/backends/meta-cursor-renderer.c
+++ b/src/backends/meta-cursor-renderer.c
@@ -269,11 +269,10 @@ update_cursor (MetaCursorRenderer *renderer)
if (meta_is_wayland_compositor ())
{
+ update_hw_cursor (renderer);
+
if (priv->has_hw_cursor)
- {
- update_hw_cursor (renderer);
- move_hw_cursor (renderer);
- }
+ move_hw_cursor (renderer);
else
queue_redraw (renderer);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]