summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-05-06 15:22:33 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-05-10 13:33:54 +1000
commit33b01280d8ffe6e35f6ca8497ed82bcfe2044594 (patch)
treee38de36d59951534706f62c0550caf40a43523c5 /src
parent1b612c0bbcd8b287ac4f7cb8ba3354b0e0a63949 (diff)
Rename HandleClickWithFingers to handle_clickfinger.
The option is called ClickFinger, the man page talks this way about it, sync up the code with it. No functional change. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'src')
-rw-r--r--src/synaptics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index 5d5ca89..6951fee 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -2025,7 +2025,7 @@ HandleScrolling(SynapticsPrivate *priv, struct SynapticsHwState *hw,
}
static void
-HandleClickWithFingers(SynapticsParameters *para, struct SynapticsHwState *hw)
+handle_clickfinger(SynapticsParameters *para, struct SynapticsHwState *hw)
{
int action = 0;
switch(hw->numFingers){
@@ -2147,7 +2147,7 @@ update_hw_button_state(const LocalDevicePtr local, struct SynapticsHwState *hw,
/* Fingers emulate other buttons */
if(hw->left && hw->numFingers >= 1){
- HandleClickWithFingers(para, hw);
+ handle_clickfinger(para, hw);
}
/* Two finger emulation */