I an old patch lying around that I've applied to commit [e8961ae643c31f02], but
no longer have a relevant system to test it on.  Does it perhaps resolve this
issue?


<code><verbatim>
--- macosx/tkMacOSXKeyEvent.c
+++ macosx/tkMacOSXKeyEvent.c
@@ -198,11 +198,11 @@
               }

               if (repeat) {
                 Tk_QueueWindowEvent(&xEvent, TCL_QUEUE_TAIL);
                 xEvent.xany.type = KeyPress;
-                xEvent.xany.serial = LastKnownRequestProcessed(Tk_Display(tkwin));
+                xEvent.xany.serial = LastKnownRequestProcessed(Tk_Display(tkwin)) - 1;
               }
             }
             Tk_QueueWindowEvent(&xEvent, TCL_QUEUE_TAIL);
             savedModifiers = modifiers;
             return theEvent;