summaryrefslogtreecommitdiff
path: root/src/synapticsstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/synapticsstr.h')
-rw-r--r--src/synapticsstr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synapticsstr.h b/src/synapticsstr.h
index fe4a8af..b8a3492 100644
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -150,6 +150,7 @@ enum TouchpadModel {
};
enum SoftButtonAreas {
+ NO_BUTTON_AREA = -1,
BOTTOM_BUTTON_AREA = 0,
BOTTOM_RIGHT_BUTTON_AREA = 0,
BOTTOM_MIDDLE_BUTTON_AREA = 1,
@@ -264,7 +265,7 @@ struct _SynapticsPrivateRec {
Bool prev_up; /* Previous up button value, for double click emulation */
enum FingerState finger_state; /* previous finger state */
CARD32 last_motion_millis; /* time of the last motion */
- Bool inside_button_area; /* Inside button area (ignore motion) */
+ enum SoftButtonAreas last_button_area; /* Last button area we were in */
int clickpad_click_millis; /* Time of last clickpad click */
enum TapState tap_state; /* State of tap processing */