1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Description: Disable corner tapping when disabling tap to click
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=607474
Bug-Ubuntu: https://bugs.launchpad.net/bugs/509724
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -650,6 +650,10 @@
&bytes_after, &data);
if (rc == Success && type == XA_INTEGER && format == 8 && nitems >= 7) {
+ /* Set MR mapping for corner tapping on the right side*/
+ data[0] = (state) ? 2 : 0;
+ data[1] = (state) ? 3 : 0;
+
/* Set RLM mapping for 1/2/3 fingers*/
data[4] = (state) ? ((left_handed) ? 3 : 1) : 0;
data[5] = (state) ? ((left_handed) ? 1 : 3) : 0;
|