diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c index 425980ab8..04ad08eb3 100644 --- a/clutter/clutter/clutter-stage.c +++ b/clutter/clutter/clutter-stage.c @@ -1129,7 +1129,6 @@ _clutter_stage_queue_event (ClutterStage *stage, event->type != CLUTTER_PROXIMITY_IN && event->type != CLUTTER_PROXIMITY_OUT) { - ClutterModifierType event_state = clutter_event_get_state (event); ClutterEventSequence *sequence = clutter_event_get_event_sequence (event); guint32 event_time = clutter_event_get_time (event); gfloat event_x, event_y; @@ -1137,7 +1136,6 @@ _clutter_stage_queue_event (ClutterStage *stage, clutter_event_get_coords (event, &event_x, &event_y); _clutter_input_device_set_coords (device, sequence, event_x, event_y, stage); - _clutter_input_device_set_state (device, event_state); _clutter_input_device_set_time (device, event_time); }