Huw, Gerard,
Here's a patch that should fix the problem.
Could one of you confirm me that it is really fixing the problem.
Thanks, Stef.
---------------------------------------
Changelog:
When dealing with XKB extensions, force the AltGr key mask to use the group
index instead of the modifier.
Modified file:
windows/x11drv/keyboard.c
Stephane Lussier
Macadamian Technologies
> -----Original Message-----
> From: Huw D M Davies [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 14, 2000 9:36 AM
> To: Stephane Lussier
> Subject: Re: AltGr support (for non US keyboard).
>
>
> On Fri, Apr 14, 2000 at 09:11:59AM -0400, Stephane Lussier wrote:
> > Gerard,
> >
> > That's funny, for me it's the other way around. I'm getting the
> result you
> > mention before applying.
> >
> > Anyway, could you launch Notepad with "debugmsg +key" and type
> "AltGr+2",
> > then send me the trace. I'll take a look.
>
> Hi Stephane,
>
> I've got similar problems too. Alt-Gr+3 now generates '3' not
> threesuperior.
>
> Trace from wordpad pressing Alt-Gr+3 attached. It seems that while
> the keysym is correctly identified as threesuperior the WM_CHAR
> message is incorrect. The problem looks to be that AltGrMask is 20
> while the state is now 2000.
>
> Huw.
> --
> Dr. Huw D M Davies | Clarendon Laboratory
> [EMAIL PROTECTED] | Parks Road
> Tel: +44 1865 272390 | Oxford OX1 3PU
> Fax: +44 1865 272400 | UK
>
altgr2.diff