mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
clutter: Update device for the current tool in backends
This should happen deeper in backends, not here in clutter-main. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403>
This commit is contained in:

committed by
Marge Bot

parent
89a140d618
commit
c601a824e9
@ -1656,6 +1656,9 @@ input_device_update_tool (ClutterInputDevice *input_device,
|
||||
|
||||
if (evdev_device->last_tool != tool)
|
||||
{
|
||||
if (tool)
|
||||
clutter_input_device_update_from_tool (input_device, tool);
|
||||
|
||||
evdev_device->last_tool = tool;
|
||||
g_signal_emit_by_name (seat_impl->seat_native, "tool-changed",
|
||||
input_device, tool);
|
||||
|
Reference in New Issue
Block a user