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:
Carlos Garnacho
2020-10-23 23:51:42 +02:00
committed by Marge Bot
parent 89a140d618
commit c601a824e9
3 changed files with 6 additions and 3 deletions

View File

@ -960,6 +960,9 @@ translate_property_event (MetaSeatX11 *seat_x11,
meta_input_device_x11_update_tool (device, tool);
g_signal_emit_by_name (seat_x11, "tool-changed", device, tool);
if (tool)
clutter_input_device_update_from_tool (device, tool);
}
}