dragora-installer: Use comma for the last sentence in the initial screen
[dragora.git] / patches / gtk2 / atk-key-Always-convert-control-character-events-into-key-.patch
blob888d5f29c6a644a43ee10d7aff09f3a713fb1956
1 From: Samuel Thibault <samuel.thibault@ens-lyon.org>
2 Date: Fri, 15 Feb 2019 13:33:52 +0100
3 Subject: atk key: Always convert control character events into key names
5 including when the control modifier is present, i.e. when one is typing
6 control-I for instance.
8 Orca would convert them back to the corresponding ASCII letter anyway, and
9 when pressing control-tab, we do want to pass "tab", not pass "\t" that Orca
10 would erroneously convert to "control-I".
12 Fixes #1743
14 (cherry picked from commit 728f6869cba6360b843a83fe5b525404accb1433)
15 Origin: upstream, 2.24.33, commit:cf15c11429559a180eb1b185da02b348211d860c
16 ---
17 modules/other/gail/gailutil.c | 3 +--
18 1 file changed, 1 insertion(+), 2 deletions(-)
20 diff --git a/modules/other/gail/gailutil.c b/modules/other/gail/gailutil.c
21 index cab0113..ab97c77 100644
22 --- a/modules/other/gail/gailutil.c
23 +++ b/modules/other/gail/gailutil.c
24 @@ -224,8 +224,7 @@ atk_key_event_from_gdk_event_key (GdkEventKey *key)
25 event->keyval = key->keyval;
26 event->length = key->length;
27 if (key->string && key->string [0] &&
28 - (key->state & GDK_CONTROL_MASK ||
29 - g_unichar_isgraph (g_utf8_get_char (key->string))))
30 + g_unichar_isgraph (g_utf8_get_char (key->string)))
32 event->string = key->string;