mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/285>
This commit is contained in:
parent
f2ff9dcc01
commit
a88c9b9ff2
@ -399,7 +399,7 @@ meta_wayland_tablet_tool_new (MetaWaylandTabletSeat *seat,
|
|||||||
tool->focus_surface_destroy_listener.notify = tablet_tool_handle_focus_surface_destroy;
|
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->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);
|
cursor_tracker);
|
||||||
meta_cursor_sprite_set_prepare_func (META_CURSOR_SPRITE (tool->default_sprite),
|
meta_cursor_sprite_set_prepare_func (META_CURSOR_SPRITE (tool->default_sprite),
|
||||||
(MetaCursorPrepareFunc) tool_cursor_prepare_at,
|
(MetaCursorPrepareFunc) tool_cursor_prepare_at,
|
||||||
|
Loading…
Reference in New Issue
Block a user