On Tue, 4 Feb 2003, Angus Leeming wrote:

> 
> Does this pseudo patch (below) fix your problem. It means that the global vars 
> will be filled by fl_XLookupString rather than the local ones.



I don't get here. The patch below is exactly the same as I have.


> 
> 1. When you precompose another CJK-character, "P", and then hit "space-bar", 
> how many XEvents are passed to the XWorkArea handler? Do you get just one or 
> do you get two as you described to me the other day. Or do you get even more?



I get just two as I did the other day.


> If I remember your description from the other day correctly, the first of 
> these two XEvents had 
>       keysym=0, keybuf="CJK char"
> and the second had
>       keysym=XK_space, keybuf=0.
> Does this still happen 


Yes, it does.


and, if so, do you handle the second event correctly 
> now?


I see the second event make the cursor move one step forward.


> 
> 2. Can you decipher the keybuf="CJK char" that you obtain? Do you obtain a 
> string for 'P' or a string for 'PW'?

 

"PW"


 If the latter, do you need to simply 
> ensure that the precomposition buffer is empty when you enter precomposition 
> mode?


I guess so, but I'm not sure( let me try).


> 
> Anyway, you're the one doing all the hard work. I'll leave it to you to decide 
> how best to proceed ;-)
> 


Don't worry. I am the one who needs this to be done.



cghan

Reply via email to