This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (no)deadkeys keyboard default setting


Benjamin Riefenstahl wrote:

> Turns out that the
> routines for parsing XF86Config in winconfig.c don't recognise empty
> strings.
> 
> Changing OPTV_STRING to OPTV_ANYSTR in winSetStrOption() fixes the
> problem for me.

OPTV_STRING will reject empty strings and winSetStrOption would return the 
default of NULL. NULL is in this case correct as it indicates that no variant
was selected. 

The code was more or less copied from the XFree86 server and is not different 
to the xfree86 code in current CVS. So I'll leave the code as it is and only
remove the "nodeadkeys" default. This should remove you're problem too.

bye
    ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]