diff options
| author | Andrey Mozzhuhin <amozzhuhin@yandex.ru> | 2017-10-01 15:13:05 +0000 |
|---|---|---|
| committer | Andrey Mozzhuhin <amozzhuhin@yandex.ru> | 2017-10-05 21:28:26 +0000 |
| commit | a4a165df79514f34736282e699180cb8ae81c949 (patch) | |
| tree | 486f9145cc9b07548c14535c00a6f755972f77e7 /src/ui/tools/tool-base.h | |
| parent | Merge branch 'edit-clip-object' of gitlab.com:stfacc/inkscape (diff) | |
| download | inkscape-a4a165df79514f34736282e699180cb8ae81c949.tar.gz inkscape-a4a165df79514f34736282e699180cb8ae81c949.zip | |
Fix bug #1226962 - Keyboard shortcuts (hotkeys) not functional in some
cases in non-latin keyboard layouts
The key group with zero index can be a non-Latin layout.
Try to determine Latin layout group index at runtime by checking
available keymap entries for Latin 'a' keyval.
Diffstat (limited to 'src/ui/tools/tool-base.h')
| -rw-r--r-- | src/ui/tools/tool-base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/tools/tool-base.h b/src/ui/tools/tool-base.h index 09a9db660..1a049abb3 100644 --- a/src/ui/tools/tool-base.h +++ b/src/ui/tools/tool-base.h @@ -251,6 +251,7 @@ gint gobble_motion_events(gint mask); void sp_event_show_modifier_tip(Inkscape::MessageContext *message_context, GdkEvent *event, gchar const *ctrl_tip, gchar const *shift_tip, gchar const *alt_tip); +void init_latin_keys_group(); guint get_group0_keyval(GdkEventKey const *event, guint *consumed_modifiers = NULL); SPItem *sp_event_context_find_item (SPDesktop *desktop, Geom::Point const &p, bool select_under, bool into_groups); |
