summaryrefslogtreecommitdiff
path: root/plugins/mouse/msd-mouse-manager.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-07-28 00:48:15 +0300
committerMonsta <[email protected]>2015-07-28 00:48:15 +0300
commit296d56a0ec991c835ad15214663a140da79430d1 (patch)
tree5c765ce8498793529ce3a0165a0496eec8a72f61 /plugins/mouse/msd-mouse-manager.c
parentf47b729b5b21a7eb5abda66c0db6bea1f554390c (diff)
downloadmate-settings-daemon-296d56a0ec991c835ad15214663a140da79430d1.tar.bz2
mate-settings-daemon-296d56a0ec991c835ad15214663a140da79430d1.tar.xz
mouse: use event driven mode for syndaemon, save some power
from https://github.com/GNOME/gnome-settings-daemon/commit/f7071bf1f9941f0ba5fe23c645656e70fb2dd699
Diffstat (limited to 'plugins/mouse/msd-mouse-manager.c')
-rw-r--r--plugins/mouse/msd-mouse-manager.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/mouse/msd-mouse-manager.c b/plugins/mouse/msd-mouse-manager.c
index f25bcb2..52a8572 100644
--- a/plugins/mouse/msd-mouse-manager.c
+++ b/plugins/mouse/msd-mouse-manager.c
@@ -576,7 +576,7 @@ set_disable_w_typing (MsdMouseManager *manager, gboolean state)
if (state && touchpad_is_present ()) {
GError *error = NULL;
- char *args[5];
+ char *args[6];
if (manager->priv->syndaemon_spawned)
return 0;
@@ -585,7 +585,8 @@ set_disable_w_typing (MsdMouseManager *manager, gboolean state)
args[1] = "-i";
args[2] = "0.5";
args[3] = "-k";
- args[4] = NULL;
+ args[4] = "-R";
+ args[5] = NULL;
if (!g_find_program_in_path (args[0]))
return 0;