From 296d56a0ec991c835ad15214663a140da79430d1 Mon Sep 17 00:00:00 2001 From: Monsta Date: Tue, 28 Jul 2015 00:48:15 +0300 Subject: mouse: use event driven mode for syndaemon, save some power from https://github.com/GNOME/gnome-settings-daemon/commit/f7071bf1f9941f0ba5fe23c645656e70fb2dd699 --- plugins/mouse/msd-mouse-manager.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/mouse') 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; -- cgit v1.2.1