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

@ -219,9 +219,9 @@ clutter_gdk_handle_event (GdkEvent *gdk_event)
clutter_event_set_device (event, device);
clutter_event_set_source_device (event, source_device);
if (gdk_event->type == GDK_ENTER_NOTIFY)
_clutter_stage_add_device (stage, clutter_event_get_device (event));
_clutter_input_device_set_stage (clutter_event_get_device (event), stage);
else
_clutter_stage_remove_device (stage, clutter_event_get_device (event));
_clutter_input_device_set_stage (clutter_event_get_device (event), NULL);
CLUTTER_NOTE (EVENT, "Crossing %s [%.2f, %.2f]",
event->type == CLUTTER_ENTER ? "enter" : "leave",
event->crossing.x,