Commit c4a17c88 authored by Matthias Clasen's avatar Matthias Clasen

Keep XF86 keysym names working

These names are unfortunately stored in gsettings around
the world, so we can't really stop supporting them.
parent 606a6269
......@@ -90,7 +90,10 @@ _gdk_keyval_from_name (const gchar *keyval_name)
gdk_key *found;
g_return_val_if_fail (keyval_name != NULL, 0);
if (strncmp (keyval_name,"XF86", 4) == 0)
keyval_name += 4;
found = bsearch (keyval_name, gdk_keys_by_name,
GDK_NUM_KEYS, sizeof (gdk_key),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment