1
0
gnome-settings-daemon/gnome-settings-daemon-only-inhibit-touchpad-tapping.patch
2012-06-09 10:30:40 +00:00

24 lines
932 B
Diff

Index: gnome-settings-daemon-3.4.2/plugins/mouse/gsd-mouse-manager.c
===================================================================
--- gnome-settings-daemon-3.4.2.orig/plugins/mouse/gsd-mouse-manager.c
+++ gnome-settings-daemon-3.4.2/plugins/mouse/gsd-mouse-manager.c
@@ -542,7 +542,7 @@ set_disable_w_typing (GsdMouseManager *m
{
if (state && touchpad_is_present ()) {
GError *error = NULL;
- char *args[6];
+ char *args[7];
if (manager->priv->syndaemon_spawned)
return 0;
@@ -552,7 +552,8 @@ set_disable_w_typing (GsdMouseManager *m
args[2] = "1.0";
args[3] = "-K";
args[4] = "-R";
- args[5] = NULL;
+ args[5] = "-t";
+ args[6] = NULL;
if (!have_program_in_path (args[0]))
return 0;