diff options
| author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-23 14:00:29 +1000 |
|---|---|---|
| committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-31 14:56:49 +1000 |
| commit | d7c4f6017885460ecc8d3ba4a99cfa2e06e71cfb (patch) | |
| tree | 74d042295e79969f7485191955fce3013aab324e | |
| parent | e8181fa403172e15f2ccaa8b307d1e6f3b36179d (diff) | |
Un-typedef SynapticsMoveHistRec
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
| -rw-r--r-- | src/synapticsstr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/synapticsstr.h b/src/synapticsstr.h index 9023374..c2293cf 100644 --- a/src/synapticsstr.h +++ b/src/synapticsstr.h @@ -86,10 +86,10 @@ struct VMask { double valuators[MAX_NUM_VALUATORS]; /* valuator data */ }; -typedef struct _SynapticsMoveHist { +struct SynapticsMoveHist { int x, y; unsigned int millis; -} SynapticsMoveHistRec; +}; typedef struct _SynapticsTouchAxis { const char *label; @@ -221,7 +221,7 @@ struct _SynapticsPrivateRec { struct SynapticsHwState *local_hw_state; /* used in place of local hw state variables */ - SynapticsMoveHistRec move_hist[SYNAPTICS_MOVE_HISTORY]; /* movement history */ + struct SynapticsMoveHist move_hist[SYNAPTICS_MOVE_HISTORY]; /* movement history */ int hist_index; /* Last added entry in move_hist[] */ int hyst_center_x; /* center x of hysteresis */ int hyst_center_y; /* center y of hysteresis */ @@ -248,7 +248,7 @@ struct _SynapticsPrivateRec { int tap_max_fingers; /* Max number of fingers seen since entering start state */ int tap_button; /* Which button started the tap processing */ enum TapButtonState tap_button_state; /* Current tap action */ - SynapticsMoveHistRec touch_on; /* data when the touchpad is touched/released */ + struct SynapticsMoveHist touch_on; /* data when the touchpad is touched/released */ enum MovingState moving_state; /* previous moving state */ Bool vert_scroll_edge_on; /* Keeps track of currently active scroll modes */ |
