https://bugs.winehq.org/show_bug.cgi?id=36854
--- Comment #17 from Karol Herbst wine@karolherbst.de --- Created attachment 49452 --> https://bugs.winehq.org/attachment.cgi?id=49452 overview of X11DRV_ToUnicodeEx calls
I did a nice overview over all calls to X11DRV_ToUnicodeEx. Here we see, that after the first call to X11DRV_ToUnicodeEx with a result of -1 the loop starts.