[mutter/wip/carlosg/there-can-be-only-one: 1/9] wayland: Use default cursor on tablet tools




commit eccf2e78acc3f0adf15f9d5e436e65a89d89a256
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jan 12 12:55:31 2022 +0100

    wayland: Use default cursor on tablet tools
    
    Now that we "replace" the pointer cursor on tablet input, have it
    use the default cursor so it blends in better.

 src/wayland/meta-wayland-tablet-tool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/wayland/meta-wayland-tablet-tool.c b/src/wayland/meta-wayland-tablet-tool.c
index eeacd9bf9a..dc4fc19ed7 100644
--- a/src/wayland/meta-wayland-tablet-tool.c
+++ b/src/wayland/meta-wayland-tablet-tool.c
@@ -399,7 +399,7 @@ meta_wayland_tablet_tool_new (MetaWaylandTabletSeat  *seat,
   tool->focus_surface_destroy_listener.notify = tablet_tool_handle_focus_surface_destroy;
   tool->cursor_surface_destroy_listener.notify = tablet_tool_handle_cursor_surface_destroy;
 
-  tool->default_sprite = meta_cursor_sprite_xcursor_new (META_CURSOR_CROSSHAIR,
+  tool->default_sprite = meta_cursor_sprite_xcursor_new (META_CURSOR_DEFAULT,
                                                          cursor_tracker);
   meta_cursor_sprite_set_prepare_func (META_CURSOR_SPRITE (tool->default_sprite),
                                        (MetaCursorPrepareFunc) tool_cursor_prepare_at,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]