[mutter/wip/carlosg/input-thread: 62/133] 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-thread: 62/133] clutter: Drop unused field in ClutterInputDevice struct
- Date: Thu, 13 Aug 2020 19:31:08 +0000 (UTC)
commit d3e1ce7dbc2726673a9cc18084db6890abfb0f28
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Jun 5 19:31:27 2020 +0200
clutter: Drop unused field in ClutterInputDevice struct
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403
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 3cf4ca0ae9..ec44918480 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 97586c2d4d..24ad9c6cec 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]