XkbSetDetectableAutoRepeat broken

Pierre Willenbrock pierre at pirsoft.de
Fri Jun 5 06:53:30 PDT 2009


Hi list,

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.

Regards,
  Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XkbSetDetectableAutoRepeat.patch
Type: text/x-patch
Size: 1262 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090605/b06fd5bf/attachment.bin>


More information about the xorg mailing list