[mutter/wip/tablet-protocol: 49/63] backend: Realize cursor on default MetaCursorRenderer paths
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/tablet-protocol: 49/63] backend: Realize cursor on default MetaCursorRenderer paths
- Date: Tue, 1 Mar 2016 11:45:19 +0000 (UTC)
commit 7abd33866bf401c81d0fe24bf2f74924d69aa5fa
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Oct 22 14:43:46 2015 +0200
backend: Realize cursor on default MetaCursorRenderer paths
The cursor is realized on x11/native subclasses, but not if a base
MetaCursorRenderer is created.
src/backends/meta-cursor-renderer.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/backends/meta-cursor-renderer.c b/src/backends/meta-cursor-renderer.c
index a76241b..bed45d4 100644
--- a/src/backends/meta-cursor-renderer.c
+++ b/src/backends/meta-cursor-renderer.c
@@ -76,6 +76,9 @@ static gboolean
meta_cursor_renderer_real_update_cursor (MetaCursorRenderer *renderer,
MetaCursorSprite *cursor_sprite)
{
+ if (cursor_sprite)
+ meta_cursor_sprite_realize_texture (cursor_sprite);
+
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]