summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-12-23 15:01:53 +0300
committermonsta <[email protected]>2017-01-02 16:53:33 +0300
commit9bbce5943c7cba741781f9bf8b1391624a590cb8 (patch)
tree2189659bd953c46694c0d58fcc0fe9d05684a0c8
parentdb375a597e33b1c8fbc20a0e9dcecc93ba59fa7a (diff)
downloadmate-settings-daemon-9bbce5943c7cba741781f9bf8b1391624a590cb8.tar.bz2
mate-settings-daemon-9bbce5943c7cba741781f9bf8b1391624a590cb8.tar.xz
mouse: call only Synaptics function from set_left_handed_legacy_driver
-rw-r--r--plugins/mouse/msd-mouse-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mouse/msd-mouse-manager.c b/plugins/mouse/msd-mouse-manager.c
index 823c448..6c9dd99 100644
--- a/plugins/mouse/msd-mouse-manager.c
+++ b/plugins/mouse/msd-mouse-manager.c
@@ -107,7 +107,7 @@ static void msd_mouse_manager_class_init (MsdMouseManagerClass *klass);
static void msd_mouse_manager_init (MsdMouseManager *mouse_manager);
static void msd_mouse_manager_finalize (GObject *object);
static void set_mouse_settings (MsdMouseManager *manager);
-static void set_tap_to_click (XDeviceInfo *device_info,
+static void set_tap_to_click_synaptics (XDeviceInfo *device_info,
gboolean state,
gboolean left_handed,
gint one_finger_tap,
@@ -366,7 +366,7 @@ set_left_handed_legacy_driver (MsdMouseManager *manager,
gint one_finger_tap = g_settings_get_int (manager->priv->settings_touchpad, KEY_TOUCHPAD_ONE_FINGER_TAP);
gint two_finger_tap = g_settings_get_int (manager->priv->settings_touchpad, KEY_TOUCHPAD_TWO_FINGER_TAP);
gint three_finger_tap = g_settings_get_int (manager->priv->settings_touchpad, KEY_TOUCHPAD_THREE_FINGER_TAP);
- set_tap_to_click (device_info, tap, left_handed, one_finger_tap, two_finger_tap, three_finger_tap);
+ set_tap_to_click_synaptics (device_info, tap, left_handed, one_finger_tap, two_finger_tap, three_finger_tap);
}
XCloseDevice (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), device);