mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -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.
This commit is contained in:
parent
83f496229b
commit
e5dd9b8fbc
@ -418,7 +418,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);
|
||||||
tool->prepare_at_signal_id =
|
tool->prepare_at_signal_id =
|
||||||
g_signal_connect (tool->default_sprite, "prepare-at",
|
g_signal_connect (tool->default_sprite, "prepare-at",
|
||||||
G_CALLBACK (tool_cursor_prepare_at), tool);
|
G_CALLBACK (tool_cursor_prepare_at), tool);
|
||||||
|
Loading…
Reference in New Issue
Block a user