Great! I committed the patch with only a slight change, to use the proper check 
for Xutf8LookupString.

Eric

On 2012-05-12, at 8:05 AM, Germán A. Arias wrote:

> El Fri, 11 May 2012 21:24:20 -0600
> Eric Wasylishen <[email protected]> escribió:
>> Hey German,
>> I investigated a similar problem a while ago. My test case was setting
>> the keyboard layout in gnome on Ubuntu 12.04 to French, using the
>> Ubuntu gui for changing keyboard layouts. This was on a physically US
>> English keyboard, and I was getting similar output in Ink when
>> pressing a key that should have produced an accented e or a.
>> 
>> I traced the problem to Source/x11/XIMInputServer.m, in particular, it
>> does some things with setting the C locale which didn't make sense to
>> me based on reading the documentation of the relevant XIM functions.
>> In my case, the existing XIMInputServer code was not calling
>> Xutf8LookupString when it should have.
>> 
>> Here is a patch that cleans up XIMInputServer a bit. Assuming this
>> fixes it for you - before the patch can be committed there also needs
>> to be a configure check for the Xutf8LookupString function
>> (HAVE_XUTF8LOOKUPSTRING) added - IIRC it is a relatively recent
>> addition to Xorg.
>> 
>> Cheers,
>> Eric
>> 
> 
> :) The patch solve the problem, with XIM enabled. With --disable-xim,
> if I want write " á " I get " ´a ". But this is expected since the
> patch is just for XIM server.


_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to