~seb128/unity-settings-daemon/battery-info-key

« back to all changes in this revision

Viewing changes to plugins/mouse/gsd-mouse-manager.c

  • Committer: Jens Granseuer
  • Author(s): C de-Avillez
  • Date: 2009-08-03 17:46:56 UTC
  • Revision ID: git-v1:6162fe172bba49726f640557e2bd27feb742f887
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).

Show diffs side-by-side

added added

removed removed

Lines of Context:
487
487
 
488
488
        if (state) {
489
489
                GError        *error = NULL;
490
 
                const char *args[4];
 
490
                const char *args[5];
491
491
 
492
492
                if (manager->priv->syndaemon_spawned)
493
493
                        return 0;
495
495
                args[0] = "syndaemon";
496
496
                args[1] = "-i";
497
497
                args[2] = "0.5";
498
 
                args[3] = NULL;
 
498
                args[3] = "-k;
 
499
                args[4] = NULL;
499
500
 
500
501
                if (!g_find_program_in_path (args[0]))
501
502
                        return 0;