diff --git a/clutter/clutter/clutter-input-device-private.h b/clutter/clutter/clutter-input-device-private.h index b3ff2dd69..cb2aeb62a 100644 --- a/clutter/clutter/clutter-input-device-private.h +++ b/clutter/clutter/clutter-input-device-private.h @@ -134,7 +134,6 @@ struct _ClutterInputDevice int previous_y; uint32_t previous_time; int previous_button_number; - ClutterModifierType previous_state; GArray *axes; diff --git a/clutter/clutter/clutter-input-device.c b/clutter/clutter/clutter-input-device.c index ee26a640b..883f90848 100644 --- a/clutter/clutter/clutter-input-device.c +++ b/clutter/clutter/clutter-input-device.c @@ -515,7 +515,7 @@ clutter_input_device_init (ClutterInputDevice *self) self->current_x = self->previous_x = -1; self->current_y = self->previous_y = -1; self->current_button_number = self->previous_button_number = -1; - self->current_state = self->previous_state = 0; + self->current_state = 0; self->touch_sequences_info = g_hash_table_new_full (NULL, NULL,