[mutter/wip/carlosg/input-thread: 36/67] backends: Use also a native cursor renderer for tablets
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/input-thread: 36/67] backends: Use also a native cursor renderer for tablets
- Date: Fri, 30 Oct 2020 19:31:59 +0000 (UTC)
commit 5a6eda5a4b2348052d6f087da7fd770b40a334a1
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Jul 31 18:35:19 2020 +0200
backends: Use also a native cursor renderer for tablets
This will resort to SW rendering if this cursor renderer does not
own the MetaKmsCursorRenderer, so it's pretty much equivalent thus
far, except we may now implement logic to flip the kms cursor renderer
around.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403
src/backends/native/meta-seat-native.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/backends/native/meta-seat-native.c b/src/backends/native/meta-seat-native.c
index 03ede79017..9f99da1e5b 100644
--- a/src/backends/native/meta-seat-native.c
+++ b/src/backends/native/meta-seat-native.c
@@ -1864,7 +1864,7 @@ update_tablet_cursor_state (MetaSeatNative *seat,
{
if (in)
{
- MetaCursorRenderer *renderer;
+ MetaCursorRendererNative *renderer;
if (!seat->tablet_cursors)
{
@@ -1872,7 +1872,7 @@ update_tablet_cursor_state (MetaSeatNative *seat,
g_object_unref);
}
- renderer = meta_cursor_renderer_new (meta_get_backend (), device);
+ renderer = meta_cursor_renderer_native_new (meta_get_backend (), device);
g_hash_table_insert (seat->tablet_cursors, device, renderer);
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]