summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/tool-base.h
diff options
context:
space:
mode:
authorAndrey Mozzhuhin <amozzhuhin@yandex.ru>2017-10-01 15:13:05 +0000
committerAndrey Mozzhuhin <amozzhuhin@yandex.ru>2017-10-05 21:28:26 +0000
commita4a165df79514f34736282e699180cb8ae81c949 (patch)
tree486f9145cc9b07548c14535c00a6f755972f77e7 /src/ui/tools/tool-base.h
parentMerge branch 'edit-clip-object' of gitlab.com:stfacc/inkscape (diff)
downloadinkscape-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.h1
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);