[Mono-winforms-list] patch for enabling primitive XIM text input

Atsushi Eno atsushi at ximian.com
Tue Apr 15 03:23:32 EDT 2008


Hello,

Doug Rintoul wrote:
> Atsushi Eno wrote:
>   
>> Thanks for the details. Though I don't think I completely understand 
>> the second issue
>> (XIM event order matter), I am persuaded. Your patch is in svn (along 
>> with my patch
>> of course too).
>>
>>     
> Thanks for this. I am assuming that only the patch for the second 
> problem is committed. Any thoughts on solving the tracking of the 
> modification keys (control, alt, shift, etc)?
>   
Now I could go ahead and came to this issue. I have created a
patch to control those key states (which are in X11Keyboard)
*before* calling XFilterEvent(). I guess it would work as every
key press/release events are handled regardless of filter and
press/release state for non-shift key is used only to flag key
input state (possibly in no use).

With this patch, my present issue (atok x3 / iiimx loses shift state 
when it is enabled) went away.

If you have some time, please have a look at the patch. I'd like to hear 
your feedback :)

Atsushi Eno

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xim-20080415-shiftstate.patch
Type: text/x-patch
Size: 3073 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20080415/caaa964b/attachment-0001.bin 


More information about the Mono-winforms-list mailing list