summaryrefslogtreecommitdiff
path: root/synaptics.h
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2003-05-01 19:19:06 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:00:52 +0200
commit10c55ff9de415404201eb5ea37c10acfaca6f824 (patch)
treec8b2b8402268d35bbc5df6aeac7b3cd80ae8cd79 /synaptics.h
parent4cc36ca33128f17be57e3a58a44374d9558fbfe9 (diff)
Make double click processing from change
4cc36ca33128f17be57e3a58a44374d9558fbfe9 more reliable. In the old code, a very short click could generate a single click instead of a double click.
Diffstat (limited to 'synaptics.h')
-rw-r--r--synaptics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/synaptics.h b/synaptics.h
index 5c191cd..c45b0fd 100644
--- a/synaptics.h
+++ b/synaptics.h
@@ -70,7 +70,7 @@ typedef struct _SynapticsPrivateRec
unsigned int count_packet; /* packet counter */
unsigned int count_packet_tapping; /* packet counter for tapping */
unsigned int count_button_delay; /* button delay for 3rd button emulation */
- unsigned int count_double_click; /* counter for double click */
+ unsigned int prev_up; /* Previous up button value, for double click emulation */
Bool finger_flag; /* previous finger */
Bool tap, drag, doubletap; /* feature flags */
Bool tap_left, tap_mid, tap_right; /* tapping buttons */