[mutter/wip/carlosg/input-refactors-pt1: 26/26] clutter: Drop unused field in ClutterInputDevice struct
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/input-refactors-pt1: 26/26] clutter: Drop unused field in ClutterInputDevice struct
- Date: Fri, 9 Oct 2020 09:22:35 +0000 (UTC)
commit 9355e79316227d7574705f0f3eaa4d54705d0613
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Jun 5 19:31:27 2020 +0200
clutter: Drop unused field in ClutterInputDevice struct
clutter/clutter/clutter-input-device-private.h | 1 -
clutter/clutter/clutter-input-device.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/clutter/clutter/clutter-input-device-private.h b/clutter/clutter/clutter-input-device-private.h
index 9121028f69..9b5234e1e7 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 15c73891c0..3227ce050d 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]