XkbSetDetectableAutoRepeat broken

Daniel Stone daniel at fooishbar.org
Fri Jun 5 10:24:09 PDT 2009


On Fri, Jun 05, 2009 at 03:53:30PM +0200, Pierre Willenbrock wrote:
> since some time, XkbSetDetectableAutoRepeat is broken.
> XkbSetDetectableAutoRepeat works by filtering in XkbFilterEvent all
> events that are equal to the previously stored XkbLastRepeatEvent(in
> AccessXKeyboardEvent). This is done by comparing the memory location. In
> current xservers, events get translated after they are created in
> AccessXKeyboardEvent and before XkbFilterEvent sees them, so this test
> does not work. For now, comparing time fixes this, but i don't know if
> that is sufficient. Attached patch does just this, and works here.

Hi,
I've got a fix in my local tree that I'll push ASAP.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20090606/351d61aa/attachment.pgp>


More information about the xorg mailing list