key-click volume is set using -c, in which has changed the behaviour, not
turning off key-click anymore now. To turn it off now just use "-c 0" instead.

Signed-off-by: Tiago Vignatti <tiago.vigna...@nokia.com>
---
 os/utils.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/os/utils.c b/os/utils.c
index 3a747ad..3a8e9cf 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -464,8 +464,7 @@ void UseMsg(void)
     ErrorF("-audit int             set audit trail level\n");  
     ErrorF("-auth file             select authorization file\n");      
     ErrorF("-bs                    enable any backing store support\n");
-    ErrorF("-c                     turns off key-click\n");
-    ErrorF("c #                    key-click volume (0-100)\n");
+    ErrorF("-c #                   key-click volume (0-100)\n");
     ErrorF("-cc int                default color visual class\n");
     ErrorF("-nocursor              disable the cursor\n");
     ErrorF("-core                  generate core dump on fatal error\n");
@@ -611,17 +610,13 @@ ProcessCommandLine(int argc, char *argv[])
        }
        else if ( strcmp( argv[i], "-bs") == 0)
            BackingStore = TRUE;
-       else if ( strcmp( argv[i], "c") == 0)
+       else if ( strcmp( argv[i], "-c") == 0)
        {
            if(++i < argc)
                defaultKeyboardControl.click = atoi(argv[i]);
            else
                UseMsg();
        }
-       else if ( strcmp( argv[i], "-c") == 0)
-       {
-           defaultKeyboardControl.click = 0;
-       }
        else if ( strcmp( argv[i], "-cc") == 0)
        {
            if(++i < argc)
-- 
1.7.0.4

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to