Commit 6162fe17 authored by C de-Avillez's avatar C de-Avillez Committed by Jens Granseuer

add '-k' option to syndaemon call for 'Disable touchpad while typing'

Call syndaemon with the '-k' parameter when disabling the touchpad
while typing so that modifier keys can still be used, e.g. for
Ctrl-Click (bug #590588).
parent 4c58d559
2008-08-03 C de-Avillez <hggdh2@ubuntu.com>
* plugins/mouse/gsd-mouse-manager.c: add '-k' to syndaemon
call, in order to ignore modifier keys when monitoring keyboard.
Thanks to Dag Asheim for spotting this, and proposing a patch.
2008-07-01 Sergey Udaltsov <svu@gnome.org>
* configure.ac, plugins/keyboard/gsd-keyboard-xkb.c: depend on
......
......@@ -487,7 +487,7 @@ set_disable_w_typing (GsdMouseManager *manager, gboolean state)
if (state) {
GError *error = NULL;
const char *args[4];
const char *args[5];
if (manager->priv->syndaemon_spawned)
return 0;
......@@ -495,7 +495,8 @@ set_disable_w_typing (GsdMouseManager *manager, gboolean state)
args[0] = "syndaemon";
args[1] = "-i";
args[2] = "0.5";
args[3] = NULL;
args[3] = "-k;
args[4] = NULL;
if (!g_find_program_in_path (args[0]))
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment