[Mono-winforms-list] patch for enabling primitive XIM text input
Doug Rintoul
doug_rintoul at sil.org
Thu Mar 27 15:08:11 EDT 2008
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)?
> I'm also getting into libX11 code, so if you have pointers to relevant
> sources (probably
> in src/xlibi18n/* or modules/im/* ?) please give us them :)
These are the relevant sources. XIM is not an easy protocol to get your
head around. I peppered the xorg code with printf statements to get a
feel for the flow of processing.There is documentation at
http://xorg.freedesktop.org/archive/X11R6.9.0/doc/PDF/. This is for
version 6.9.0 but XIM has not changed much for version 7.3 Xorg
rearranged the documentation for version 7 and so there are no PDFs
readily available for the internals of 7.3. I have generated pdfs from
the postscript file available with the source if your are interested.
However you can download the PDFs for 6.9 have have virtually the same
thing. The docs you would interested in are xim.pdf, XIMTransport.pdf
and i18nFramework.pdf. There are other docs dealing XKB which might be
useful but not specifically applicable to XIM. The docs are very low
level. I have not really found a good overview of XIM on the net.
<http://xorg.freedesktop.org/archive/X11R6.9.0/doc/PDF/i18nFramework.pdf>
HTH
Doug Rintoul
SIL Intl.
More information about the Mono-winforms-list
mailing list