This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: (no)deadkeys keyboard default setting
- From: Benjamin Riefenstahl <Benjamin dot Riefenstahl at epost dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 27 May 2003 14:37:09 +0200
- Subject: Re: (no)deadkeys keyboard default setting
- References: <Pine.LNX.4.44.0305262003030.1017-100000@lupus.ago.vpn>
- Reply-to: cygwin-xfree at cygwin dot com
Hi Alexander,
Alexander Gottwald <Alexander.Gottwald@s1999.tu-chemnitz.de> writes:
> 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.
But that didn't work. The keyboard was still in "nodeadkeys" mode in
my case. With OPTV_STRING NULL == "option not set" can not be
distinguished from NULL == "empty string". So for options where empty
strings are valid OPTV_STRING will only work, iff the default is also
NULL. Otherwise it will fail.
> So I'll leave the code as it is and only remove the "nodeadkeys"
> default. This should remove you're problem too.
Of course, but it's still a bug waiting to happen. It's your call of
course.
so long, benny