1
0
Fork 0

device: Do not overwrite the stage for an InputDevice

The Stage field of an InputDevice is set by the backend, whenever the
pointer enters or leaves the Stage. The Stage should not overwrite the
stage field for every event it processes.
This commit is contained in:
Emmanuele Bassi 2009-12-09 00:01:50 +00:00
parent cf287db204
commit 8736b53d7c

View file

@ -487,7 +487,6 @@ _clutter_stage_queue_event (ClutterStage *stage,
_clutter_input_device_set_coords (device, event_x, event_y);
_clutter_input_device_set_state (device, event_state);
_clutter_input_device_set_time (device, event_time);
_clutter_input_device_set_stage (device, stage);
}
}