Re: about gtk/_gtk_kegtkkeyhash.c:y_hash_lookup() and fuzzy matches
- From: "didier ." <did447 gmail com>
- To: "Owen Taylor" <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: about gtk/_gtk_kegtkkeyhash.c:y_hash_lookup() and fuzzy matches
- Date: Wed, 16 Aug 2006 23:02:04 +0200
Hi
On 8/16/06, Owen Taylor <otaylor redhat com> wrote:
- This behavior is desired and very useful for a long list of languages
where *ALL USERS* have two keymaps, one for Latin and one the
language's scripts. This includes: Cyrillic, Greek, Arabic, Hebrew.
It just isn't acceptable to have to switch to the other keyboard
layout to use the menus, or to use editing hotkeys.
I see,
- Yes, it causes some problems for the small group of people who
manually configure their keyboard to have two Latin layouts. If
someone wants to create a fix for that *without breaking the
behavior where needed* that would be a great contribution.
What about:
if (!have_exact && keyval > 0x7f) /* or 255 ? */
{
for (i = 0; i < entry->n_keys; i++)
Only use fuzzy matches if the group 0 is not ASCII?
It seems to work here, I tested with Cyrillic/French and French/English.
Didier
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]