From dbc59a272ca033652402d5cf3ade7ca11cab0027 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Thu, 3 Sep 2015 14:20:39 +0100 Subject: Touchpad support: Fixed default value for tapping when configuration is outside of bonds, fixed typo in settings description --- data/org.mate.peripherals-touchpad.gschema.xml.in.in | 4 ++-- plugins/mouse/msd-mouse-manager.c | 4 ++-- 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 @@ 3 <_summary>Enabled two-finger button-click emulation - <_description>0 thru 3, 0 is inactive, 1-3 is button for two-finger click to emulate + <_description>0 thru 3, 0 is inactive, 1-3 is button to emulate 2 <_summary>Enable three-finger button-click emulation - <_description>0 thru 3, 0 is inactive, 1-3 is button for two-finger click to emulate + <_description>0 thru 3, 0 is inactive, 1-3 is button to emulate 1 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) { -- cgit v1.2.1