From e9ded04d15ee12fec8c023f2dba95135fceac154 Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Fri, 16 Aug 2019 00:20:16 +0200 Subject: fix #385 inbox#765 macOS accelerators - re-fix Cmd-Q confirmation dialog (#383) without the numbers typing regression (#385) - re-fix Alt modifiers (inbox#765) - fix Cmd-A select all text (inbox#765) --- src/widgets/desktop-widget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/widgets/desktop-widget.cpp') diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index 09797dd32..8ccba0319 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -952,7 +952,9 @@ sp_desktop_widget_realize (GtkWidget *widget) if (osxapp && menushell && window) { menushell->set_parent(*window); gtkosx_application_set_menu_bar(osxapp, menushell->gobj()); - gtkosx_application_set_use_quartz_accelerators(osxapp, true); + // using quartz accelerators gives menu shortcuts priority over everything else, + // messes up text input because Inkscape has single key shortcuts (e.g. 1-6). + gtkosx_application_set_use_quartz_accelerators(osxapp, false); gtkosx_application_set_help_menu(osxapp, _get_help_menu(menushell->gobj())); gtkosx_application_set_window_menu(osxapp, nullptr); } -- cgit v1.2.3