Hello, Angus; On Wed, 29 Jan 2003, Angus Leeming wrote:
> Dear CG, thanks for the explanation. I now understand that we need only one > IC (per dialog?) and that we can change it's position using XSetICValues. > Great, I've learnt something new. I am glad that I can still hold your interest here. > 1. No IC exists anymore: > if (fl_context->xic) > XDestroyIC(fl_context->xic); Yes, it is barmy! > 2. You are setting the value of a null IC > XSetICValues(0,XNPreeditAttributes,preedit_list,0); > Oops, my mistake! > What happens if you remove the lines of 1 and modify two to > XSetICValues(fl_context->xic,XNPreeditAttributes,preedit_list,0); > as it is in your example II. Still the same. The precomposition point does not move... cghan