On 3/31/06, <b class="gmail_sendername">Augusto Arcoverde da Rocha</b> &lt;<a href="mailto:agarobr.listas@gmail.com">agarobr.listas@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 3/30/06, Peter Åstrand &lt;<a href="mailto:astrand@cendio.se">astrand@cendio.se</a>&gt; wrote:<br>&gt;<br>&gt; On Thu, 30 Mar 2006, Wine Bugs wrote:<br>&gt; &gt; <a href="http://bugs.winehq.org/show_bug.cgi?id=1181">http://bugs.winehq.org/show_bug.cgi?id=1181
</a><br>&gt; &gt;<br>&gt; &gt; ------- Additional Comments From <a href="mailto:Speeddymon@gmail.com">Speeddymon@gmail.com</a>&nbsp;&nbsp;2006-30-03 10:26 -------<br>[cut]<br>I don't know the problem with the bug 4923 [1], but when we fix the
<br>bug 1181 [2] and make Wine use KeySym, this race condition won't occur<br>since X11DRV_ToUnicodeEx function will not use AltGrMask or any other<br>global variable concerning the keyboard state, only a table like<br>&quot;ksym2vkey&quot;. Besides, applications that use X server API directly
<br>don't have this behavior.<br>---<br>[1] <a href="http://bugs.winehq.org/show_bug.cgi?id=4923">http://bugs.winehq.org/show_bug.cgi?id=4923</a><br>[2] <a href="http://bugs.winehq.org/show_bug.cgi?id=1181">http://bugs.winehq.org/show_bug.cgi?id=1181
</a><br><br>I'm trying to solve the bug 2400 [3] and looking more closely the code<br>in dlls/x11drv/keyboard.c I started thinking in rewriting this code to<br>use directly keysyms sent by X server to translate XEvents to vkeys
<br>instead of the currently<br>&quot;xevent-&gt;keycode-&gt;keysym-&gt;keycode-&gt;vkey/character&quot; way as implemented<br>from the X11DRV_KeyEvent to X11DRV_ToUnicodeEx functions.<br>---<br>[3] <a href="http://bugs.winehq.org/show_bug.cgi?id=2400">
http://bugs.winehq.org/show_bug.cgi?id=2400</a><br><br></blockquote></div>I think that rewriting the keyboard code in this way is a very good thing, and will be more than happy to help coordinate testing of it, although I can't test any myself.&nbsp; Rewriting the code should allow us to close many of the keyboard related bugs in bugzilla, which will be a big BIG plus in my book.
<br><br>Like I said, if you want me to, I will coordinate testing of new code.&nbsp; I'll start a new thread called keyboard rewrite and ask for volunteers with different keyboard layouts to reply to that thread to test new code.&nbsp; I'm also going to create an offspring of the main wiki page for this project, once given confirmation that you will do the rewrite.
<br><br>Tom<br>