From: Alexandre F. <ale...@gm...> - 2007-05-29 18:21:41
|
Hi, As recently discussed on c.l.t, the event stream generated by keyboard autorepeat is not the same for X and for Windows: Using "P" and "R" for "KeyPress" and "KeyRelease": Windows -> PPPPPPPPPPPPPPPPPPR X -> P(RP)(RP)(RP)......(RP)R (where (RP) are couples with same timestamp and serial) As a consequence, Windows allows for straightforward detection of auto-repeat events, while the X scheme requires a rather complicated logic (detecting the couples, and posting a timer to detect the last R). As a (half-witted) workaround, X offers 'xset -r', which is a global, display-wide disabling... Question: do you have any pointers to the (if any) discussion in the X community that lead to that questionable decision ? TIA, -Alex |