main: Allow updating device axes from the current tool

This way devices are ensured the proper axis status at the time
of processing the events.
This commit is contained in:
Carlos Garnacho
2015-02-04 17:17:23 +01:00
parent 7004818508
commit eafa04230b
3 changed files with 22 additions and 0 deletions

View File

@@ -2489,6 +2489,9 @@ _clutter_process_event_details (ClutterActor *stage,
case CLUTTER_PROXIMITY_IN:
case CLUTTER_PROXIMITY_OUT:
clutter_input_device_update_from_tool (clutter_event_get_source_device (event),
clutter_event_get_device_tool (event));
if (_clutter_event_process_filters (event))
break;