[mutter/wip/tablet-protocol-v3: 4/18] 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-v3: 4/18] backend: Realize cursor on default MetaCursorRenderer paths
- Date: Mon, 16 Nov 2015 12:57:04 +0000 (UTC)
commit 5c76f72361d73ddd6806e52c0f4c69bd1d99072e
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 48cd239..0c95e25 100644
--- a/src/backends/meta-cursor-renderer.c
+++ b/src/backends/meta-cursor-renderer.c
@@ -74,6 +74,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]