From 93600d6166534bbb7fba452879facfee0dbd7d7c Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 22 Apr 2014 15:28:48 -0400 Subject: [PATCH] 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 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/backends/meta-cursor-renderer.c b/src/backends/meta-cursor-renderer.c index 314f6f1d8..a92254b1a 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); }