summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Lefebvre <[email protected]>2015-09-03 14:20:39 +0100
committerClement Lefebvre <[email protected]>2015-09-03 14:20:39 +0100
commitdbc59a272ca033652402d5cf3ade7ca11cab0027 (patch)
treed14305a990ec06cc8f66e2408d646eac17bf45a8
parente1becf4e7b72d5ec3b915e7922b81f4e25c03f1b (diff)
downloadmate-settings-daemon-dbc59a272ca033652402d5cf3ade7ca11cab0027.tar.bz2
mate-settings-daemon-dbc59a272ca033652402d5cf3ade7ca11cab0027.tar.xz
Touchpad support: Fixed default value for tapping when configuration is outside of bonds, fixed typo in settings description
-rw-r--r--data/org.mate.peripherals-touchpad.gschema.xml.in.in4
-rw-r--r--plugins/mouse/msd-mouse-manager.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/data/org.mate.peripherals-touchpad.gschema.xml.in.in b/data/org.mate.peripherals-touchpad.gschema.xml.in.in
index a97e576..64e630f 100644
--- a/data/org.mate.peripherals-touchpad.gschema.xml.in.in
+++ b/data/org.mate.peripherals-touchpad.gschema.xml.in.in
@@ -28,12 +28,12 @@
<key name="two-finger-click" type="i">
<default>3</default>
<_summary>Enabled two-finger button-click emulation</_summary>
- <_description>0 thru 3, 0 is inactive, 1-3 is button for two-finger click to emulate</_description>
+ <_description>0 thru 3, 0 is inactive, 1-3 is button to emulate</_description>
</key>
<key name="three-finger-click" type="i">
<default>2</default>
<_summary>Enable three-finger button-click emulation</_summary>
- <_description>0 thru 3, 0 is inactive, 1-3 is button for two-finger click to emulate</_description>
+ <_description>0 thru 3, 0 is inactive, 1-3 is button to emulate</_description>
</key>
<key name="tap-button-one-finger" type="i">
<default>1</default>
diff --git a/plugins/mouse/msd-mouse-manager.c b/plugins/mouse/msd-mouse-manager.c
index 9b63cbe..3fd7430 100644
--- a/plugins/mouse/msd-mouse-manager.c
+++ b/plugins/mouse/msd-mouse-manager.c
@@ -655,9 +655,9 @@ set_tap_to_click (MsdMouseManager * manager)
if (one_finger_tap > 3 || one_finger_tap < 1)
one_finger_tap = 1;
if (two_finger_tap > 3 || two_finger_tap < 1)
- two_finger_tap = 2;
+ two_finger_tap = 3;
if (three_finger_tap > 3 || three_finger_tap < 1)
- three_finger_tap = 3;
+ three_finger_tap = 2;
if (rc == Success && type == XA_INTEGER && format == 8 && nitems >= 7)
{