Commit e910ee2c authored by Matthias Clasen's avatar Matthias Clasen

Merge branch 'control-enter' into 'gtk-3-24'

atk key: Always convert control character events into key names

See merge request !630
parents ff6b5192 728f6869
Pipeline #67693 passed with stage
in 72 minutes and 56 seconds
......@@ -123,8 +123,7 @@ atk_key_event_from_gdk_event_key (GdkEventKey *key,
event->keyval = key->keyval;
event->length = key->length;
if (key->string && key->string[0] &&
(key->state & GDK_CONTROL_MASK ||
g_unichar_isgraph (g_utf8_get_char (key->string))))
g_unichar_isgraph (g_utf8_get_char (key->string)))
event->string = key->string;
else
event->string = gdk_keyval_name (key->keyval);
......
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