stage: Remove tracking input devices, it's not used

https://bugzilla.gnome.org/show_bug.cgi?id=683126
This commit is contained in:
Tomeu Vizoso
2012-08-31 18:36:57 +02:00
committed by Emmanuele Bassi
parent fd375a7bc9
commit d5332d1e4c
8 changed files with 12 additions and 57 deletions

View File

@ -1185,7 +1185,7 @@ clutter_device_manager_xi2_translate_event (ClutterEventTranslator *translator,
event->crossing.x = xev->event_x;
event->crossing.y = xev->event_y;
_clutter_stage_add_device (stage, device);
_clutter_input_device_set_stage (device, stage);
}
else
{
@ -1209,7 +1209,7 @@ clutter_device_manager_xi2_translate_event (ClutterEventTranslator *translator,
event->crossing.x = xev->event_x;
event->crossing.y = xev->event_y;
_clutter_stage_remove_device (stage, device);
_clutter_input_device_set_stage (device, NULL);
}
_clutter_input_device_reset_scroll_info (source_device);