diff options
author | Erkin Bahceci <erkinbah@gmail.com> | 2009-05-11 12:32:32 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-13 09:03:46 +1000 |
commit | ee265e10c9cc724ad0badcab86a3893667717322 (patch) | |
tree | bf46224fce9a107dda3834236a5a6bfa486f4d32 /src/synapticsstr.h | |
parent | e4b1571d487cb67bab64e1ee890bddcd02437ddf (diff) |
Add TapAndDragGesture option and gestures property.
The tap-and-drag gesture is an alternative way of dragging.
It is performed by tapping (touching and releasing the finger), then
touching again and moving the finger on the touchpad.
This gesture is enabled by default and can be disabled by setting the
TapAndDragGesture option to false.
The gesture already existed in synaptics and was always enabled. This
commit adds an option to switch it on/off. The default behavior is
tap-and-drag being enabled, that is, TapAndDragGesture is true.
The "Synaptics Gestures" property is intended to hold all new gesture
enabling options, like options for the upcoming multitouch gestures.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synapticsstr.h')
-rw-r--r-- | src/synapticsstr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synapticsstr.h b/src/synapticsstr.h index 15c0e90..d2ff57c 100644 --- a/src/synapticsstr.h +++ b/src/synapticsstr.h @@ -146,6 +146,7 @@ typedef struct _SynapticsParameters double press_motion_min_factor; /* factor applied on speed when finger pressure is at minimum */ double press_motion_max_factor; /* factor applied on speed when finger pressure is at minimum */ Bool grab_event_device; /* grab event device for exclusive use? */ + Bool tap_and_drag_gesture; /* Switches the tap-and-drag gesture on/off */ } SynapticsParameters; |