Hello, Miyata:

Glad to hear from you.


On Thu, 30 Jan 2003, Shigeru Miyata wrote:

> Sorry, I don't have time to look at the source
> right now.
> So here are only vague general remarks.
>  
> XIM is designed to be created only once for an X  
> connection.  Don't create more than one XIM
> nor destroy and recreate again and again.
> Xlib can be quite fragile, (especially you tried
> to create multiple XIM in different locales.)



I see. That means one of two xims, which are in lyxim.C of CJK-LyX and in
flresource.c of xforms, should be removed. Correct?  This also means that
for CJK-LyX, all the stuffs in lyxim.C should be imported into xforms
library. Right again?


> XIC is designed to be created for each GC (graphic
> context).  Especially, each window (widget) must
> have its own input context if it expects user input.
> The current design of xforms is flawed that it
> creates only process global XIC and tries to use it
> for all widgets.


Sorry for my ignorance. Can you be more specific or detailed ?



> Hope some of the remarks above can be of a help.



You surely are helping me!
 

Regards,


cghan

Reply via email to