Okay I got what you mean, but it is a function for the application.  In fact I want to modify the Xserver to do that.  I'm not sure about the design architecture but is that possible? If it's possible which file should I look into?<br><br>Gideon Tsang<br><br><br><b><i>Alan Coopersmith <alan.coopersmith@sun.com></i></b> wrote: Gideon wrote:<br>> //Hi all,<br>> <br>> I'm new to Xorg and I found the codes are quite hard to follow.<br>> Any suggestions to address the problem would be greatly appreciated.<br>> <br>> I figured the Xserver will filter the keyPress event from the keypad<br>> until a keyRelease is received, but I want it to repeat keyPress only<br>> as in the following:<br>> <br>> keyPress/keyPress/keyPress/......../keyRelease<br>> <br>> I am using version X11R6.8.2 so I couldn't find the function<br>>  ///XkbSetDetectableAutoRepeat or codes follow ///XPeekEvent regarding<br>> to this post:<br>>
 http://lists.freedesktop.org/archives/xorg/2006-June/015820.html<br><br>XkbSetDetectableAutoRepeat is what you need, and it's been in libX11<br>since X11R6.4, so look again.<br><br>-- <br> -Alan Coopersmith-           alan.coopersmith@sun.com<br>  Sun Microsystems, Inc. - X Window System Engineering<p>
                <hr size=1>The best gets better. See why everyone is raving about the <a href="http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=ca"><b>All-new Yahoo! Mail.</b></a>