diff options
author | Monsta <[email protected]> | 2015-07-28 00:48:15 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2015-08-31 15:58:44 +0200 |
commit | 6a9838fed66817d80b7a86771f4a134c9e12e5d3 (patch) | |
tree | f6a22a18604df24c5cbd01c2ce26f885cc554c68 /plugins/mouse/msd-mouse-manager.c | |
parent | efb767a7b3b76cc82737a0e75f850d99b902801a (diff) | |
download | mate-settings-daemon-6a9838fed66817d80b7a86771f4a134c9e12e5d3.tar.bz2 mate-settings-daemon-6a9838fed66817d80b7a86771f4a134c9e12e5d3.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.c | 5 |
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; |