Alan Coopersmith wrote:
Hmm, that's unfortunate. I didn't really want to disable autorepeat for the whole application because some text fields could use it. However, I suppose I could generated the release events within the library I'm patching to have it simulate what the application code has been receiving thus far, just with a flag set to indicate auto-repeat.You need to use the X Keyboard (aka XKB) extension to determine if an event is autorepeat-generated or a real keypress. In there, the function XkbSetDetectableAutoRepeat will allow you to disable the auto-generated KeyRelease events for autorepeats, so a KeyPress followed by a KeyPress of the same key, without a KeyRelease in between, indicates auto-repeat.
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel
